android_kernel_motorola_sm6375/samples/bpf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexei Starovoitov c249739579 bpf: allow BPF programs access 'protocol' and 'vlan_tci' fields
as a follow on to patch 70006af955 ("bpf: allow eBPF access skb fields")
this patch allows 'protocol' and 'vlan_tci' fields to be accessible
from extended BPF programs.

The usage of 'protocol', 'vlan_present' and 'vlan_tci' fields is the same as
corresponding SKF_AD_PROTOCOL, SKF_AD_VLAN_TAG_PRESENT and SKF_AD_VLAN_TAG
accesses in classic BPF.

Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-03-17 15:06:31 -04:00
..
bpf_helpers.h
bpf_load.c
bpf_load.h
libbpf.c
libbpf.h ebpf: export BPF_PSEUDO_MAP_FD to uapi 2015-03-01 14:05:19 -05:00
Makefile
sock_example.c
sockex1_kern.c samples: bpf: add skb->field examples and tests 2015-03-15 22:02:28 -04:00
sockex1_user.c samples: bpf: add skb->field examples and tests 2015-03-15 22:02:28 -04:00
sockex2_kern.c samples: bpf: add skb->field examples and tests 2015-03-15 22:02:28 -04:00
sockex2_user.c samples: bpf: add skb->field examples and tests 2015-03-15 22:02:28 -04:00
test_maps.c
test_verifier.c bpf: allow BPF programs access 'protocol' and 'vlan_tci' fields 2015-03-17 15:06:31 -04:00