Home
last modified time | relevance | path

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

/dpdk/lib/bpf/
H A Dbpf_convert.c85 .code = EBPF_ALU64 | BPF_OP(OP) | BPF_X, \
93 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
103 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
181 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
390 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()
397 if (fp->jt == 0 && BPF_OP(fp->code) == BPF_JEQ) { in bpf_convert_filter()
406 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()
H A Dbpf_dump.c12 #define BPF_OP_INDEX(x) (BPF_OP(x) >> 4)
125 else if (BPF_OP(ins->code) == BPF_JA) in rte_bpf_dump()
127 else if (BPF_OP(ins->code) == EBPF_EXIT) in rte_bpf_dump()
H A Dbpf_def.h64 #define BPF_OP(code) ((code) & 0xf0) macro
H A Dbpf_jit_x86.c14 #define GET_BPF_OP(op) (BPF_OP(op) >> 4)
908 if (BPF_OP(op) == BPF_JSET) in emit_jcc_imm()
949 if (BPF_OP(op) == BPF_JSET) in emit_jcc_reg()
1022 if (BPF_OP(op) == BPF_DIV) in emit_div()
H A Dbpf_jit_arm64.c21 #define EBPF_OP_GET(op) (BPF_OP(op) >> 4)
187 switch (BPF_OP(op)) { in ebpf_to_a64_cond()
H A Dbpf_validate.c659 op = BPF_OP(ins->code); in eval_alu()
1104 op = BPF_OP(ins->code); in eval_jcc()