]> The Tcpdump Group git mirrors - tcpdump/commit
Fetch a 32-bit big-endian quantity with EXTRACT_32BITS().
authorGuy Harris <[email protected]>
Mon, 27 Apr 2015 00:03:32 +0000 (17:03 -0700)
committerGuy Harris <[email protected]>
Mon, 4 May 2015 01:01:38 +0000 (18:01 -0700)
commitda282b9c35dfb783dfb35c1a8568f7f3a6f02485
tree05bfdb24e975fc3ab65f316e0b276356b6612e77
parent1f2c7dfc65a27d97c55166300e32f924c5e08822
Fetch a 32-bit big-endian quantity with EXTRACT_32BITS().

*Don't* fetch it with a pointer cast and dereference!  That will fail on
little-endian machines and may fail on machines that don't handle
unaligned references.
print-icmp6.c