19 #include <rte_compat.h> 56 #define RTE_BPF_ARG_PTR_TYPE(x) ((x) & RTE_BPF_ARG_PTR) 74 uint64_t (*val)(uint64_t, uint64_t, uint64_t,
92 const struct ebpf_insn *
ins;
104 uint64_t (*func)(
void *);
214 rte_bpf_dump(FILE *f,
const struct ebpf_insn *buf, uint32_t len);
uint64_t rte_bpf_exec(const struct rte_bpf *bpf, void *ctx)
struct rte_bpf * rte_bpf_load(const struct rte_bpf_prm *prm)
const struct ebpf_insn * ins
int rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit)
struct rte_bpf * rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname, const char *sname)
uint32_t rte_bpf_exec_burst(const struct rte_bpf *bpf, void *ctx[], uint64_t rc[], uint32_t num)
__rte_experimental struct rte_bpf_prm * rte_bpf_convert(const struct bpf_program *prog)
__rte_experimental void rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len)
void rte_bpf_destroy(struct rte_bpf *bpf)
const struct rte_bpf_xsym * xsym