Home
last modified time | relevance | path

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

/linux-6.12.1/net/core/
Dfilter.c576 u8 bpf_src; in bpf_convert_filter() local
737 bpf_src = BPF_X; in bpf_convert_filter()
741 bpf_src = BPF_SRC(fp->code); in bpf_convert_filter()
742 insn->src_reg = bpf_src == BPF_X ? BPF_REG_X : 0; in bpf_convert_filter()
747 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()
757 insn->code = BPF_JMP | BPF_JNE | bpf_src; in bpf_convert_filter()
760 insn->code = BPF_JMP | BPF_JLE | bpf_src; in bpf_convert_filter()
763 insn->code = BPF_JMP | BPF_JLT | bpf_src; in bpf_convert_filter()
776 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()