]> The Tcpdump Group git mirrors - libpcap/commit
Handle DG/UX's wacky tcpdump format (major version 543, minor version 0,
authorguy <guy>
Fri, 24 Oct 2003 23:55:06 +0000 (23:55 +0000)
committerguy <guy>
Fri, 24 Oct 2003 23:55:06 +0000 (23:55 +0000)
commitf580b78baec720146ed917b791248df73d119f8f
treea9d90d86923acca4b47db6bb643e7333650887ad
parent3b68061cf76a62a9b3067219561525c5a04b1a64
Handle DG/UX's wacky tcpdump format (major version 543, minor version 0,
caplen and len fields in the pre-2.3 order).

Move the version number checking to the open-file code; store a
tri-state (definitely swapped, definitely not swapped, maybe swapped)
value in the savefile information and use that when processing packets.
pcap-int.h
savefile.c