Subject: Re: [PATCH] bridge: avoid ptype_all packet handling

From: Stephen Hemminger <[email-masked]>
Date: Wed, 28 Feb 2007 23:26:36 -0800

David Miller wrote:
> From: Stephen Hemminger <[email-masked]>
> Date: Wed, 28 Feb 2007 23:04:36 -0800
>
>   
>> If an normal application has to use something like raw packet
>> filtering, it seems there is a missing API.
>>     
>
> I'm loosely following this discussion, but Ben mentions DHCP
> and I remember learning the other month that DHCP uses AF_PACKET
> and filtering instead of IP RAW sockets because it needs to get
> the MAC address and RAW sockets don't provide that.
>   
sounds like a socket option would help, the data is already there. Then 
the normal
UDP receive path would work.