#include <rte_bpf.h>
Data Fields | ||
| size_t | sz | |
| uint32_t | flags | |
| enum rte_bpf_origin | origin | |
| union { | ||
| }; | ||
| const struct rte_bpf_xsym * | xsym | |
| uint32_t | nb_xsym | |
| struct rte_bpf_arg | prog_arg [EBPF_FUNC_MAX_ARGS] | |
| uint32_t | nb_prog_arg | |
Input parameters for loading eBPF code, extensible version.
Follows libbpf conventions for extensible structs.
| uint32_t flags |
| enum rte_bpf_origin origin |
| union { ... } |
program origin parameters, member in use depends on origin
| const struct rte_bpf_xsym* xsym |
| struct rte_bpf_arg prog_arg[EBPF_FUNC_MAX_ARGS] |