On 07/04/11 19:39, weiliam.hong wrote:
Thanks Andrew, it works. I understand your workaround but don't actually
know why the ip_header can be misaligned in the first place.
An ip header is commonly located right after a 14-byte ethernet header.
Many devices allow you to insert a two-byte shim at the start of a
packet buffer (so the ethernet header is 2-byte aligned and the ip
header is 4-byte aligned), but some ethernet controllers require the
start of the packet buffer to be 4-byte aligned and thus misalign the ip
header.
- Bill
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org