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