Ok - and I'm guessing that the behavior is different for the protocol
specific case (i.e. packet socket bound to a specific protocol type)
because no application has needed it to be the same? (IE sniffers
normally bind to all protocols, and protocol specific apps like DHCP
servers don't need to see frames before the bridge hook - they would
normally see them on the brige itself).
From: David S. Miller [mailto:davem@xxxxxxxxxxxxx]
Sent: Tuesday, July 26, 2005 12:59 PM
To: Simon Barber
Subject: Re: Why is packet socket checked before bridge in
From: "Simon Barber" <simon@xxxxxxxxxxxxxxx>
Subject: Why is packet socket checked before bridge in
Date: Tue, 26 Jul 2005 11:03:17 -0700
> The protocol handlers are also used to implement packet sockets. - Why
> is the all handler checked before the bridge hook?
Because we want packet sniffers to see the packet before the bridging
layer decapsulates it.