| 11 | #include "bpf_impl.h" |
| 12 | |
| 13 | void |
| 14 | rte_bpf_destroy(struct rte_bpf *bpf) |
| 15 | { |
| 16 | if (bpf != NULL) { |
| 17 | if (bpf->jit.func != NULL) |
| 18 | munmap(bpf->jit.func, bpf->jit.sz); |
| 19 | munmap(bpf, bpf->sz); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | int |
| 24 | rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit) |
no outgoing calls