Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/arch/arm/net/
Dbpf_jit_32.c677 case BPF_ANC | SKF_AD_ALU_XOR_X: in build_body()
799 case BPF_ANC | SKF_AD_PROTOCOL: in build_body()
808 case BPF_ANC | SKF_AD_CPU: in build_body()
816 case BPF_ANC | SKF_AD_IFINDEX: in build_body()
830 case BPF_ANC | SKF_AD_MARK: in build_body()
836 case BPF_ANC | SKF_AD_RXHASH: in build_body()
842 case BPF_ANC | SKF_AD_VLAN_TAG: in build_body()
843 case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: in build_body()
848 if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) in build_body()
853 case BPF_ANC | SKF_AD_QUEUE: in build_body()
/linux-4.1.27/arch/mips/net/
Dbpf_jit.c998 case BPF_ANC | SKF_AD_ALU_XOR_X: in build_body()
1204 case BPF_ANC | SKF_AD_PROTOCOL: in build_body()
1229 case BPF_ANC | SKF_AD_CPU: in build_body()
1238 case BPF_ANC | SKF_AD_IFINDEX: in build_body()
1253 case BPF_ANC | SKF_AD_MARK: in build_body()
1259 case BPF_ANC | SKF_AD_RXHASH: in build_body()
1265 case BPF_ANC | SKF_AD_VLAN_TAG: in build_body()
1266 case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: in build_body()
1272 if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) { in build_body()
1280 case BPF_ANC | SKF_AD_PKTTYPE: in build_body()
[all …]
/linux-4.1.27/include/linux/
Dfilter.h429 #define BPF_ANC BIT(15) macro
452 BUG_ON(ftest->code & BPF_ANC); in bpf_anc_helper()
459 return BPF_ANC | SKF_AD_##CODE in bpf_anc_helper()
/linux-4.1.27/net/core/
Dfilter.c816 if (bpf_anc_helper(ftest) & BPF_ANC) in bpf_check_classic()