rte_bpf_prm(3)
β¨ rte_bpf_prm(3) β¨
okay bestie so this one lives in the Library Functions Manual and it's a struct from DPDK's rte_bpf.h (hi π) β let's get into it
π NAME π
rte_bpf_prm β the little bundle of input params you hand over when you wanna load some eBPF code π
πΈ SYNOPSIS πΈ
#include <rte_bpf.h>
π¦ Data Fields
const struct ebpf_insn * ins
uint32_t nb_ins
const struct rte_bpf_xsym * xsym
uint32_t nb_xsym
struct rte_bpf_arg prog_arg
π DETAILED DESCRIPTION π
It's givingβ¦ input parameters for loading eBPF code. That's the whole gig bestie, that's what this struct is for β¨
fr fr, this is literally defined at line 91 of file rte_bpf.h β no cap π«Ά
π FIELD DOCUMENTATION π
β const struct ebpf_insn* ins
array of eBPF instructions β the actual program vibes, all lined up π
defined at line 92 of file rte_bpf.h π
β uint32_t nb_ins
number of instructions in ins β like, how many of them. count them. slay π₯
defined at line 93 of file rte_bpf.h π
β const struct rte_bpf_xsym* xsym
array of external symbols that eBPF code is allowed to reference β the guest list, and only these symbols get in πβ¨
defined at line 94 of file rte_bpf.h π
β uint32_t nb_xsym
number of elements in xsym β the guest list headcount, periodt π
defined at line 96 of file rte_bpf.h π
β struct rte_bpf_arg prog_arg
eBPF program input arg description β tells you what the program's input arg is actually about π¦
defined at line 97 of file rte_bpf.h π
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. β so nobody hand-wrote this one, it just appeared and honestly? iconic π
and that's the whole page bestie!! π this was DPDK Version 25.11.3, brought to you by the Doxygen-to-manpage pipeline (the most unhinged ghostwriter in the game π). mwah, go compile something cute πβ¨π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms