On Wed, May 12, 2010 at 6:46 PM, Darren Reed <[email protected]> wrote: > > Looking through the networking code, it is hard to tell if > Open/Solaris supports doing an explicit bind to a SAP that > refers directly to either 802.2 or 802.3. Am I missing > something? > > If it is true that we don't and we were to support that, > what values would be appropriate? > > The reasoning behind these questions is that I'm trying to > make sense of what it would mean to create a socket like > this on Open/Solaris: > > fd = socket(PF_PACKET, SOCK_RAW, ETH_P_802_2); > > or > > > fd = socket(PF_PACKET, SOCK_RAW, ETH_P_802_3); > > Of course it may be that it just doesn't make sense on > Open/Solaris but I'm curious to know what others thing.
I don't believe it does -- the best you can do is bind to SAP 0, then push the pfil module configured to pass the desired packets through. _______________________________________________ networking-discuss mailing list [email protected]
