Home
last modified time | relevance | path

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

/Linux-v5.15/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.15/arch/mips/net/
Dbpf_jit.c1197 if (PKT_VLAN_PRESENT_BIT) in build_body()
1198 emit_srl(r_A, r_A, PKT_VLAN_PRESENT_BIT, ctx); in build_body()
1199 if (PKT_VLAN_PRESENT_BIT < 7) in build_body()
/Linux-v5.15/include/linux/
Dskbuff.h839 #define PKT_VLAN_PRESENT_BIT 7 macro
841 #define PKT_VLAN_PRESENT_BIT 0 macro
/Linux-v5.15/net/core/
Dfilter.c327 if (PKT_VLAN_PRESENT_BIT) in convert_skb_access()
328 *insn++ = BPF_ALU32_IMM(BPF_RSH, dst_reg, PKT_VLAN_PRESENT_BIT); in convert_skb_access()
329 if (PKT_VLAN_PRESENT_BIT < 7) in convert_skb_access()
8634 if (PKT_VLAN_PRESENT_BIT) in bpf_convert_ctx_access()
8635 *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, PKT_VLAN_PRESENT_BIT); in bpf_convert_ctx_access()
8636 if (PKT_VLAN_PRESENT_BIT < 7) in bpf_convert_ctx_access()