#include <rte_common.h>
#include <rte_mbuf.h>
#include <bpf_def.h>
Go to the source code of this file.
RTE BPF support.
librte_bpf provides a framework to load and execute eBPF bytecode inside user-space dpdk based applications. It supports basic set of features from eBPF spec ().
Definition in file rte_bpf.h.
De-allocate all memory used by this eBPF execution context.
Create a new eBPF execution context and load given BPF code into it.
Create a new eBPF execution context and load BPF code from given ELF file into it. Note that if the function will encounter EBPF_PSEUDO_CALL instruction that references external symbol, it will treat is as standard BPF_CALL to the external helper function.
Execute given BPF bytecode.
Execute given BPF bytecode over a set of input contexts.
Provide information about natively compiled code for given BPF handle.