Files
Linux/net
Michal Sekletar 27cd545247 filter: introduce SKF_AD_VLAN_TPID BPF extension
If vlan offloading takes place then vlan header is removed from frame
and its contents, both vlan_tci and vlan_proto, is available to user
space via TPACKET interface. However, only vlan_tci can be used in BPF
filters.

This commit introduces a new BPF extension. It makes possible to load
the value of vlan_proto (vlan TPID) to register A. Support for classic
BPF and eBPF is being added, analogous to skb->protocol.

Cc: Daniel Borkmann <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Jiri Pirko <[email protected]>

Signed-off-by: Michal Sekletar <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-03-24 15:25:15 -04:00
..
2015-03-02 16:43:41 -05:00
2015-03-06 21:50:02 -05:00
…
2015-03-02 16:43:41 -05:00
2015-03-12 14:39:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-08 12:53:46 -07:00
…