The data structure for per-packet headers for Mac V5 and V6 Etherpeek
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 5 Dec 2001 07:19:11 +0000 (07:19 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 5 Dec 2001 07:19:11 +0000 (07:19 +0000)
commit7fb82be54bd27f8c8da007b71de107ae95ad48bc
treee773d86b6929b8b1787b65adf28dd16b07967b8f
parent0b1a552ebb85c89992d726e1f292929eeab379d0
The data structure for per-packet headers for Mac V5 and V6 Etherpeek
files would put a 32-bit quantity on a 16-bit boundary without padding;
this means that many compilers will insert the padding and thus make the
structure not match what's in the file.

Instead of using a C structure, #define values for the offsets of
fields, read the header into an array of bytes, and extract values using
the offsets.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4334 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/etherpeek.c