Home
last modified time | relevance | path

Searched refs:BPF_ANC (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/arch/powerpc/net/
Dbpf_jit_comp.c227 case BPF_ANC | SKF_AD_ALU_XOR_X: in bpf_jit_build_body()
337 case BPF_ANC | SKF_AD_PROTOCOL: /* A = ntohs(skb->protocol); */ in bpf_jit_build_body()
343 case BPF_ANC | SKF_AD_IFINDEX: in bpf_jit_build_body()
344 case BPF_ANC | SKF_AD_HATYPE: in bpf_jit_build_body()
360 if (code == (BPF_ANC | SKF_AD_IFINDEX)) { in bpf_jit_build_body()
369 case BPF_ANC | SKF_AD_MARK: in bpf_jit_build_body()
374 case BPF_ANC | SKF_AD_RXHASH: in bpf_jit_build_body()
379 case BPF_ANC | SKF_AD_VLAN_TAG: in bpf_jit_build_body()
380 case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: in bpf_jit_build_body()
386 if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) { in bpf_jit_build_body()
[all …]
/linux-4.4.14/arch/sparc/net/
Dbpf_jit_comp.c460 case BPF_ANC | SKF_AD_ALU_XOR_X: /* A ^= X; */ in bpf_jit_compile()
569 case BPF_ANC | SKF_AD_CPU: in bpf_jit_compile()
572 case BPF_ANC | SKF_AD_PROTOCOL: in bpf_jit_compile()
575 case BPF_ANC | SKF_AD_PKTTYPE: in bpf_jit_compile()
580 case BPF_ANC | SKF_AD_IFINDEX: in bpf_jit_compile()
587 case BPF_ANC | SKF_AD_MARK: in bpf_jit_compile()
590 case BPF_ANC | SKF_AD_QUEUE: in bpf_jit_compile()
593 case BPF_ANC | SKF_AD_HATYPE: in bpf_jit_compile()
600 case BPF_ANC | SKF_AD_RXHASH: in bpf_jit_compile()
603 case BPF_ANC | SKF_AD_VLAN_TAG: in bpf_jit_compile()
[all …]
/linux-4.4.14/arch/arm/net/
Dbpf_jit_32.c733 case BPF_ANC | SKF_AD_ALU_XOR_X: in build_body()
856 case BPF_ANC | SKF_AD_PROTOCOL: in build_body()
865 case BPF_ANC | SKF_AD_CPU: in build_body()
873 case BPF_ANC | SKF_AD_IFINDEX: in build_body()
874 case BPF_ANC | SKF_AD_HATYPE: in build_body()
889 if (code == (BPF_ANC | SKF_AD_IFINDEX)) { in build_body()
905 case BPF_ANC | SKF_AD_MARK: in build_body()
911 case BPF_ANC | SKF_AD_RXHASH: in build_body()
917 case BPF_ANC | SKF_AD_VLAN_TAG: in build_body()
918 case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: in build_body()
[all …]
/linux-4.4.14/arch/mips/net/
Dbpf_jit.c874 case BPF_ANC | SKF_AD_ALU_XOR_X: in build_body()
1080 case BPF_ANC | SKF_AD_PROTOCOL: in build_body()
1105 case BPF_ANC | SKF_AD_CPU: in build_body()
1114 case BPF_ANC | SKF_AD_IFINDEX: in build_body()
1129 case BPF_ANC | SKF_AD_MARK: in build_body()
1135 case BPF_ANC | SKF_AD_RXHASH: in build_body()
1141 case BPF_ANC | SKF_AD_VLAN_TAG: in build_body()
1142 case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: in build_body()
1148 if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) { in build_body()
1156 case BPF_ANC | SKF_AD_PKTTYPE: in build_body()
[all …]
/linux-4.4.14/include/linux/
Dfilter.h498 #define BPF_ANC BIT(15) macro
521 BUG_ON(ftest->code & BPF_ANC); in bpf_anc_helper()
528 return BPF_ANC | SKF_AD_##CODE in bpf_anc_helper()
/linux-4.4.14/net/core/
Dfilter.c818 if (bpf_anc_helper(ftest) & BPF_ANC) in bpf_check_classic()