Red Hat Bugzilla – Bug 185756
linux/if_vlan.h does not include vlan packet header
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
The version of linux/if_vlan.h put in /user/include by glibc-kernheaders does
not include the header structure for an ethernet packet with a VLAN tag. The
kernel version of if_vlah.h does. It makes sense to include this since the user
space if_ether.h includes the ethernet packet header.
This header can be read by a user space program use raw sockets (PF_PACKET,
Version-Release number of selected component (if applicable):
seen in glibc-kernheaders-2.4-9.1.94 through glibc-kernheaders-3.0-5.2.
I contacted the maintainer for the kernel version of if_vlan.h and he agreed to
move the appropriate defines out of the ifdef __KERNEL__ section they are
At the maintainer's request I have submitted a patch to netdev.
Second post of patch was here:
Third post of patch was here:
The end result is that the patch was not accepted. It is believed that this
belongs in a pure user space header like in a glibc header. Thus I am closing