Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/net/
Dbpf_jit_comp.c226 case BPF_ANC | SKF_AD_ALU_XOR_X: in bpf_jit_build_body()
339 case BPF_ANC | SKF_AD_PROTOCOL: /* A = ntohs(skb->protocol); */ in bpf_jit_build_body()
345 case BPF_ANC | SKF_AD_IFINDEX: in bpf_jit_build_body()
346 case BPF_ANC | SKF_AD_HATYPE: in bpf_jit_build_body()
362 if (code == (BPF_ANC | SKF_AD_IFINDEX)) { in bpf_jit_build_body()
371 case BPF_ANC | SKF_AD_MARK: in bpf_jit_build_body()
376 case BPF_ANC | SKF_AD_RXHASH: in bpf_jit_build_body()
381 case BPF_ANC | SKF_AD_VLAN_TAG: in bpf_jit_build_body()
382 case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: in bpf_jit_build_body()
388 if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) { in bpf_jit_build_body()
[all …]
/Linux-v4.19/arch/sparc/net/
Dbpf_jit_comp_32.c423 case BPF_ANC | SKF_AD_ALU_XOR_X: /* A ^= X; */ in bpf_jit_compile()
520 case BPF_ANC | SKF_AD_CPU: in bpf_jit_compile()
523 case BPF_ANC | SKF_AD_PROTOCOL: in bpf_jit_compile()
526 case BPF_ANC | SKF_AD_PKTTYPE: in bpf_jit_compile()
531 case BPF_ANC | SKF_AD_IFINDEX: in bpf_jit_compile()
538 case BPF_ANC | SKF_AD_MARK: in bpf_jit_compile()
541 case BPF_ANC | SKF_AD_QUEUE: in bpf_jit_compile()
544 case BPF_ANC | SKF_AD_HATYPE: in bpf_jit_compile()
551 case BPF_ANC | SKF_AD_RXHASH: in bpf_jit_compile()
554 case BPF_ANC | SKF_AD_VLAN_TAG: in bpf_jit_compile()
[all …]
/Linux-v4.19/arch/mips/net/
Dbpf_jit.c887 case BPF_ANC | SKF_AD_ALU_XOR_X: in build_body()
1093 case BPF_ANC | SKF_AD_PROTOCOL: in build_body()
1118 case BPF_ANC | SKF_AD_CPU: in build_body()
1127 case BPF_ANC | SKF_AD_IFINDEX: in build_body()
1129 case BPF_ANC | SKF_AD_HATYPE: in build_body()
1139 if (code == (BPF_ANC | SKF_AD_IFINDEX)) { in build_body()
1149 case BPF_ANC | SKF_AD_MARK: in build_body()
1155 case BPF_ANC | SKF_AD_RXHASH: in build_body()
1161 case BPF_ANC | SKF_AD_VLAN_TAG: in build_body()
1162 case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: in build_body()
[all …]
/Linux-v4.19/include/linux/
Dfilter.h1013 #define BPF_ANC BIT(15) macro
1036 BUG_ON(ftest->code & BPF_ANC); in bpf_anc_helper()
1043 return BPF_ANC | SKF_AD_##CODE in bpf_anc_helper()
/Linux-v4.19/net/core/
Dfilter.c1090 if (bpf_anc_helper(ftest) & BPF_ANC) in bpf_check_classic()