On Sun, Jul 29, 2001 at 11:34:08AM +0200, Rafal Wojtczuk wrote:
> Is it possible (and safe) for a libpcap programmer to assume the
> following:
> (*) An application receives (from libpcap) packets aligned so that the
> link header ends on a 4-byte (or larger) boundary. Thus higher level
> headers, say IP header, will be aligned and conviniently accessible on
> platforms which disallow unaligned access.
No. That's why there's the "#ifdef LBL_ALIGN" stuff in "ip_print()" in
tcpdump's "print-ip.c", for example.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe