On Sun, Dec 02, 2001 at 03:30:41PM -0800, Bill Fenner wrote:
> I think it's unstated (except in the comments you removed).  I guess
> since there's no one BPF, there's no way to say what the design goals
> are any more.

...and since there's no guarantee that the packets delivered to tcpdump
came from BPF (they could've come from a capture file - or from any of
the non-BPF capture mechanisms supported by libpcap), it's not clear
that it's relevant whether BPF guarantees packet alignment in any case,
as you have to be able to cope with packets where the IP or IPv6 header
isn't nicely aligned on a 4-byte boundary (whether you can do so because
your processor correctly loads misaligned data without trapping, or
because you forcibly align the data).
-
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

Reply via email to