lkml.org 
[lkml]   [2000]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectPF_PACKET and Token Ring

    Hi,

    I'm trying to capture IP packets over a Token Ring network through a
    (PF_PACKET, SOCK_RAW) socket, but for some
    reason the sll_protocol field in the sockaddr_ll structure doesn't
    contain ETH_P_IP for IP packets but rather contains 0x100 (of course, in
    network byte order).

    Is this a bug, or is it expected behavior?

    ----------------------------------------------------------------
    Gerard Paul R. Java
    System Administrator, Mosaic Communications Cebu
    primary: riker@mozcom.com
    secondary: gerardj@cebu.mozcom.com


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:47    [W:0.019 / U:30.200 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site