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 raw socket like: > int s = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); > This socket should see VLAN packets from the base interface unchanged > (i.e. vlan tag still in packet). I think this really belongs in a portable header file in glibc somewhere. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html