dissector: Get rid of header dependency on pcap_io.h
commite70e915c9e7f9418e483b87ae72176e4b2562bb6
authorTobias Klauser <tklauser@distanz.ch>
Mon, 14 Apr 2014 20:17:37 +0000 (14 22:17 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 14 Apr 2014 20:17:37 +0000 (14 22:17 +0200)
treef7e21bdd60c500f37f02f993b666e50e9c485d19
parenta0e49fe80ba94071e4019edc5bbb128e0db1ec35
dissector: Get rid of header dependency on pcap_io.h

The dissector only needs the LINKTYPE_* #defines from pcap_io.h. Instead
of pulling in this rather large header just for this, move the
LINKTYPE_* #defines to an own header and include it where needed.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
dissector.c
dissector.h
linktype.h [new file with mode: 0644]
pcap_io.h