Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/net/
H A 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()
/OK3568_Linux_fs/kernel/arch/sparc/net/
H A 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()
/OK3568_Linux_fs/kernel/arch/mips/net/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dskbuff.h831 #define PKT_VLAN_PRESENT_BIT 7 macro
833 #define PKT_VLAN_PRESENT_BIT 0 macro
/OK3568_Linux_fs/kernel/net/core/
H A 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()
8405 if (PKT_VLAN_PRESENT_BIT) in bpf_convert_ctx_access()
8406 *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, PKT_VLAN_PRESENT_BIT); in bpf_convert_ctx_access()
8407 if (PKT_VLAN_PRESENT_BIT < 7) in bpf_convert_ctx_access()