Re: [PATCH] net: expose vlan structure to user space

2006-04-14 Thread David Acker
David S. Miller wrote: From: David Acker <[EMAIL PROTECTED]> Date: Fri, 14 Apr 2006 09:15:54 -0400 David S. Miller wrote: > I think this really belongs in a portable header file > in glibc somewhere. David, while I can try to work with the glibc folks, I don't understand how this patch would

Re: [PATCH] net: expose vlan structure to user space

2006-04-14 Thread David S. Miller
From: David Acker <[EMAIL PROTECTED]> Date: Fri, 14 Apr 2006 09:15:54 -0400 > David S. Miller wrote: > > I think this really belongs in a portable header file > > in glibc somewhere. > > David, while I can try to work with the glibc folks, I don't understand > how this patch would be different

Re: [PATCH] net: expose vlan structure to user space

2006-04-14 Thread David Acker
David Acker wrote: From Dave Acker <[EMAIL PROTECTED]> The purpose is to allow a user space program to use the vlan_ethhdr structure when directly handling 802.1Q packets. This can be done by using a raw socket like: int s = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); This socket should see

[PATCH] net: expose vlan structure to user space

2006-04-07 Thread David Acker
From Dave Acker <[EMAIL PROTECTED]> The purpose is to allow a user space program to use the vlan_ethhdr structure when directly handling 802.1Q packets. This can be done by using a raw socket like: int s = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); This socket should see VLAN packets from th