Searched refs:src_reg (Results 1 – 1 of 1) sorted by relevance
/net/core/ |
D | filter.c | 290 static u32 convert_skb_access(int skb_field, int dst_reg, int src_reg, in convert_skb_access() argument 299 *insn++ = BPF_LDX_MEM(BPF_W, dst_reg, src_reg, in convert_skb_access() 304 *insn++ = BPF_LDX_MEM(BPF_B, dst_reg, src_reg, PKT_TYPE_OFFSET()); in convert_skb_access() 314 *insn++ = BPF_LDX_MEM(BPF_H, dst_reg, src_reg, in convert_skb_access() 322 *insn++ = BPF_LDX_MEM(BPF_H, dst_reg, src_reg, in convert_skb_access() 326 *insn++ = BPF_LDX_MEM(BPF_B, dst_reg, src_reg, PKT_VLAN_PRESENT_OFFSET()); in convert_skb_access() 724 insn->src_reg = BPF_REG_TMP; in bpf_convert_filter() 730 insn->src_reg = bpf_src == BPF_X ? BPF_REG_X : 0; in bpf_convert_filter() 6652 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() 6664 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() [all …]
|