[RFC] VLAN aux info for AF_PACKET available only with ETH_P_ALL

2016-04-14 Thread Peter PalĂșch
Greetings, When using AF_PACKET sockets with PACKET_AUXDATA socket option to access the VLAN TCI information of received frames, I have noticed that the VLAN information in struct tpacket_auxdata, namely, - tp_vlan_tci - tp_vlan_tpid - TP_STATUS_VLAN_VALID and TP_STATUS_VLAN_TPID_VALID flags

VLAN aux info for AF_PACKET available only with ETH_P_ALL

2016-04-12 Thread Peter PalĂșch
Greetings, I am running vanilla Linux kernel v4.4.6. When using AF_PACKET sockets with PACKET_AUXDATA socket option to access the VLAN TCI information of received frames, I have noticed that the VLAN information in struct tpacket_auxdata, namely, - tp_vlan_tci - tp_vlan_tpid - TP_STATUS_VLAN