lkml.org 
[lkml]   [2010]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] net: packet: option to only pass skb protocol
    On 01/05/2010 12:57 PM, Michael S. Tsirkin wrote:
    > When sending packets with a packet socket it is often necessary to set
    > protocol in msg_name: otherwise the protocol field in the skb will not
    > be set correctly.

    What about automatically detecting the protocol from the data being sent
    to avoid the necessity of specifying it in the first place?

    Chris


    \
     
     \ /
      Last update: 2010-01-05 22:35    [W:0.021 / U:0.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site