Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/include/linux/
Dskbuff.h1066 #define PKT_VLAN_PRESENT_BIT 7 macro
1070 #define PKT_VLAN_PRESENT_BIT 0 macro
/Linux-v6.1/net/core/
Dfilter.c329 if (PKT_VLAN_PRESENT_BIT) in convert_skb_access()
330 *insn++ = BPF_ALU32_IMM(BPF_RSH, dst_reg, PKT_VLAN_PRESENT_BIT); in convert_skb_access()
331 if (PKT_VLAN_PRESENT_BIT < 7) in convert_skb_access()
9296 if (PKT_VLAN_PRESENT_BIT) in bpf_convert_ctx_access()
9297 *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, PKT_VLAN_PRESENT_BIT); in bpf_convert_ctx_access()
9298 if (PKT_VLAN_PRESENT_BIT < 7) in bpf_convert_ctx_access()