[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45E6802C.2090708@linux-foundation.org>
Date: Wed, 28 Feb 2007 23:26:36 -0800
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: David Miller <davem@...emloft.net>
CC: greearb@...delatech.com, bridge@...ux-foundation.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] bridge: avoid ptype_all packet handling
David Miller wrote:
> From: Stephen Hemminger <shemminger@...ux-foundation.org>
> 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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists