__LIBETH_XDP_ONSTACK_BUFF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

__LIBETH_XDP_ONSTACK_BUFF β€” declare a &libeth_xdp_buff on the stack.

okay so this is the __LIBETH_XDP_ONSTACK_BUFF(9) page from the Kernel API Manual, and it's literally about declaring a &libeth_xdp_buff on the stack πŸ’…. The __LIBETH_XDP_ONSTACK_BUFF macro? It declares a &libeth_xdp_buff on the stack, no cap.

🌸 SYNOPSIS 🌸

__LIBETH_XDP_ONSTACK_BUFF (name , ... );

That's the whole call, bestie β€” spaces included, and yes, (name , ... ); is exactly how it's written ✨.

πŸŽ€ ARGUMENTS πŸŽ€

  • name β€” the name of the variable to declare. Cute, simple, iconic πŸŽ€.
  • ... β€” the sizeof of the driver-private data. That's the driver-private size info, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

The link-up section is huge, but I'm not skipping a single one, iykyk. The kernel file is ./include/net/libeth/xdp.h, and struct libeth_xdp_buff(9) is right there too. Also go see:


mwah πŸ’‹ that's the whole page, bestie. source/version: ./include/net/libeth, dated October 2026 β€” byeee 🫢

πŸ“¦ where this page comes from