Re: [PATCH] expose vlan structure to user space, take 2

2006-04-07 Thread David Acker
David S. Miller wrote: From: David Acker <[EMAIL PROTECTED]> Date: Fri, 07 Apr 2006 14:12:05 -0400 This is a second attempt at a patch for include/linux/if_vlan.h . Its purpose is to allow a user space program to use the vlan_ethhdr structure when directly handling 802.1Q packets. This can be

Re: [PATCH] expose vlan structure to user space, take 2

2006-04-07 Thread David S. Miller
From: David Acker <[EMAIL PROTECTED]> Date: Fri, 07 Apr 2006 14:12:05 -0400 > This is a second attempt at a patch for include/linux/if_vlan.h . > Its 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 ra

[PATCH] expose vlan structure to user space, take 2

2006-04-07 Thread David Acker
This is a second attempt at a patch for include/linux/if_vlan.h . Its 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 sh