MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_bpf_convert

Function rte_bpf_convert

dpdk/lib/bpf/bpf_stub.c:31–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30#ifndef RTE_HAS_LIBPCAP
31struct rte_bpf_prm *
32rte_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

Callers 3

compile_filtersFunction · 0.50
test_bpf_matchFunction · 0.50
test_bpf_filterFunction · 0.50

Calls

no outgoing calls

Tested by 2

test_bpf_matchFunction · 0.40
test_bpf_filterFunction · 0.40