Re: PF_PACKET and Token Ring

2000-12-09 Thread Andi Kleen
On Wed, Nov 29, 2000 at 11:47:08AM +0800, Gerard Paul Java wrote: > > 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 b

PF_PACKET and Token Ring

2000-11-28 Thread Gerard Paul Java
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