Re: divert_packet and ifnet_hdrlen
Re: divert_packet and ifnet_hdrlen
- Subject: Re: divert_packet and ifnet_hdrlen
- From: Josh Graessley <email@hidden>
- Date: Wed, 4 May 2005 11:25:37 -0700
ifnet_hdrlen is set by the interface. In some cases, the interface
may have a variable length header such as PPP. Ethernet also has an
issue where some protocols, such as AppleTalk, use 802.3 which
extends the header by another 8 bytes.
-josh
On May 4, 2005, at 7:28 AM, Stephane Sudre wrote:
Can the value returned by ifnet_hdrlen for the interface for the
iff_output callback of a kpi interface filter be wrong in some cases?
The case I'm thinking about is this kind of backtrace:
dlil_output
ip_output_list
divert_packet
sosend
socketpair
sendto
unix_syscall
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden