rte_bpf_xsym(3)

πŸ’– rte_bpf_xsym πŸ’–

okay bestie, welcome to rte_bpf_xsym from the Library Functions Manual β€” yes she's a section 3 page, yes she's serving struct energy, and yes we're gonna read every single line of her together. no skipping. i'll know. πŸ’…


✨ NAME ✨

rte_bpf_xsym β€” the lil struct that says "hey, here's an outside symbol your BPF program is allowed to touch" πŸ¦‹


✨ SYNOPSIS ✨

#include <rte_bpf.h>

πŸŽ€ Data Fields

  • const char * name
  • enum rte_bpf_xtype type

✨ Detailed Description ✨

okay so literally what this is: the definition for external symbols available in the BPF program. that's the whole vibe β€” external symbols, the ones your BPF program gets to reach for from the outside world. 🌈

fr fr, she lives at Definition at line 69 of file rte_bpf.h. iconic address, no cap.


✨ Field Documentation ✨

🌸 const char* name

name πŸ’–

Definition at line 70 of file rte_bpf.h.

🌸 enum rte_bpf_xtype type

type πŸ’–

Definition at line 71 of file rte_bpf.h.

🌸 struct rte_bpf_arg args[EBPF_FUNC_MAX_ARGS]

the function arguments descriptions β€” every arg gets described, and there's room for EBPF_FUNC_MAX_ARGS of them, so like, know your limit bestie 🫢

Definition at line 77 of file rte_bpf.h.

🌸 struct rte_bpf_arg ret

the function return value. what comes back out. the after-party of the function call ✨

Definition at line 79 of file rte_bpf.h.

🌸 void* val

the actual memory location β€” like, the real address, not a vibe, not a metaphor, the actual place 🎯

Definition at line 82 of file rte_bpf.h.

🌸 struct rte_bpf_arg desc

type, size, etc. β€” the lil info card for the thing. the details. the receipts πŸ“‹

Definition at line 83 of file rte_bpf.h.

🌸 struct { ... } var

external variable πŸ‘‘


✨ Author ✨

Generated automatically by Doxygen for DPDK from the source code. β€” so nobody hand-wrote this, it's a robot's work and honestly? the robot ate. πŸ€–πŸ’…


aaaand that's the page bestie!! 🌟 huge thank you to DPDK Version 25.11.3 for making rte_bpf_xsym(3) happen β€” this was the rte_bpf_xsym section 3 manual page, and you understood it, periodt. go touch some rte_bpf.h πŸ’œπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from