ipv4: Move struct ipv4hdr definition to separate header
commit0535f86bffe97cb99832973706785e3054f97af2
authorTobias Klauser <tklauser@distanz.ch>
Thu, 24 Jan 2013 07:42:13 +0000 (24 08:42 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 24 Jan 2013 07:42:13 +0000 (24 08:42 +0100)
tree322bdaff6a32e02afb9a482241c6a8a497f03eb5
parentc8cf31984d1d0acba05966fabda20b669e54ae41
ipv4: Move struct ipv4hdr definition to separate header

proto_ipv4.c and trie.c both define the exact same struct ipv4hdr, so
get rid of the duplication and move the definition to a separate header.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
src/ipv4.h [new file with mode: 0644]
src/proto_ipv4.c
src/trie.c