rte_bpf_arg(3)
β¨ rte_bpf_arg β¨
okay bestie, welcome to the rte_bpf_arg(3) page β that's the DPDK library functions manual, and this is literally the little struct that holds function argument information. it lives inside a header and it's small but she's important, so let's get into it π
πΈ NAME πΈ
rte_bpf_arg β the struct that carries function argument information π«Ά
π SYNOPSIS π
#include <rte_bpf.h>
π Data Fields π
size_t sizesize_t buf_size
π¦ Detailed Description π¦
so basically? it's the function argument information. that's the whole vibe. no notes, she just holds the deets about an argument.
Definition at line 42 of file rte_bpf.h.
π Field Documentation π
π size_t size π
here's the breakdown, and yes it depends on the type, iykyk:
- for ptr type β max size of data buffer it points to
- for raw type β the size (in bytes) of the value
literally two jobs and she does both π
Definition at line 48 of file rte_bpf.h.
π size_t buf_size π
for mbuf ptr type, this one is the max size of the rte_mbuf data buffer. that's it, that's the field β¨
Definition at line 49 of file rte_bpf.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human author, just a robot doing her thing, no cap π€π
aaaand that's the whole page bestie!! π this was DPDK, Version 25.11.3, straight from the source code, mwah π go forth and slay your BPF args πβ¨
π¦ 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