Home
last modified time | relevance | path

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

/linux-6.1.9/net/core/
Dfilter.c567 u8 bpf_src; in bpf_convert_filter() local
728 bpf_src = BPF_X; in bpf_convert_filter()
732 bpf_src = BPF_SRC(fp->code); in bpf_convert_filter()
733 insn->src_reg = bpf_src == BPF_X ? BPF_REG_X : 0; in bpf_convert_filter()
738 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()
748 insn->code = BPF_JMP | BPF_JNE | bpf_src; in bpf_convert_filter()
751 insn->code = BPF_JMP | BPF_JLE | bpf_src; in bpf_convert_filter()
754 insn->code = BPF_JMP | BPF_JLT | bpf_src; in bpf_convert_filter()
767 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()