lkml.org 
[lkml]   [2010]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] net: packet: option to only pass skb protocol
    From
    From: "Chris Friesen" <cfriesen@nortel.com>
    Date: Tue, 05 Jan 2010 16:13:29 -0600

    > If SOCK_RAW packets are being sent, the protocol number is embedded in
    > the packet data

    Where exactly is that protocol value? Not every link level protocol
    is ethernet.

    We support FDDI, HIPPI, wireless, VLAN, PPP, and a host of others.

    So you can't know for sure unless you assume ethernet, which you
    can't do.


    \
     
     \ /
      Last update: 2010-01-06 00:55    [W:2.290 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site