| 29 | |
| 30 | #ifndef RTE_HAS_LIBPCAP |
| 31 | struct rte_bpf_prm * |
| 32 | rte_bpf_convert(const struct bpf_program *prog) |
| 33 | { |
| 34 | if (prog == NULL) { |
| 35 | rte_errno = EINVAL; |
| 36 | return NULL; |
| 37 | } |
| 38 | |
| 39 | RTE_BPF_LOG(ERR, "%s() is not supported with current config\n" |
| 40 | "rebuild with libpcap installed\n", |
| 41 | __func__); |
| 42 | rte_errno = ENOTSUP; |
| 43 | return NULL; |
| 44 | } |
| 45 | #endif |
no outgoing calls