Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/net/
Dbpf_jit_comp.c385 if (PKT_VLAN_PRESENT_BIT) in bpf_jit_build_body()
386 EMIT(PPC_RAW_SRWI(r_A, r_A, PKT_VLAN_PRESENT_BIT)); in bpf_jit_build_body()
387 if (PKT_VLAN_PRESENT_BIT < 7) in bpf_jit_build_body()
/Linux-v5.10/arch/sparc/net/
Dbpf_jit_comp_32.c559 if (PKT_VLAN_PRESENT_BIT) in bpf_jit_compile()
560 emit_alu_K(SRL, PKT_VLAN_PRESENT_BIT); in bpf_jit_compile()
561 if (PKT_VLAN_PRESENT_BIT < 7) in bpf_jit_compile()
/Linux-v5.10/arch/mips/net/
Dbpf_jit.c1171 if (PKT_VLAN_PRESENT_BIT) in build_body()
1172 emit_srl(r_A, r_A, PKT_VLAN_PRESENT_BIT, ctx); in build_body()
1173 if (PKT_VLAN_PRESENT_BIT < 7) in build_body()
/Linux-v5.10/include/linux/
Dskbuff.h826 #define PKT_VLAN_PRESENT_BIT 7 macro
828 #define PKT_VLAN_PRESENT_BIT 0 macro
/Linux-v5.10/net/core/
Dfilter.c326 if (PKT_VLAN_PRESENT_BIT) in convert_skb_access()
327 *insn++ = BPF_ALU32_IMM(BPF_RSH, dst_reg, PKT_VLAN_PRESENT_BIT); in convert_skb_access()
328 if (PKT_VLAN_PRESENT_BIT < 7) in convert_skb_access()
8379 if (PKT_VLAN_PRESENT_BIT) in bpf_convert_ctx_access()
8380 *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, PKT_VLAN_PRESENT_BIT); in bpf_convert_ctx_access()
8381 if (PKT_VLAN_PRESENT_BIT < 7) in bpf_convert_ctx_access()