]> The Tcpdump Group git mirrors - tcpdump/commit
Some compilers may pad structures to a length that's a multiple of 2 or
authorguy <guy>
Mon, 9 Oct 2000 02:59:39 +0000 (02:59 +0000)
committerguy <guy>
Mon, 9 Oct 2000 02:59:39 +0000 (02:59 +0000)
commitd16cf6488c6a3a8a4257311c80d5766ed8b7cdcb
tree03f2771bfafd5a0bf5fd51733960a515047840ac
parent89cf9ca18a08c6281bf383f9f2bde7174488f8ab
Some compilers may pad structures to a length that's a multiple of 2 or
4 bytes, even though no member in the structure requires such an
alignment; don't use "sizeof (struct ether_header)" or "sizeof (struct
fddi_header)", explicitly #define the header length and use that
#defined value.
ether.h
fddi.h
print-ether.c
print-fddi.c
print-pppoe.c