batadv_gw_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_gw_dump β€” NAME

okay so, bestie, this is batadv_gw_dump(9) from the Kernel API Manual (section 9, the kernel-functions girlies ✨) β€” and what it does is literally dump gateways into a message. that's it, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

int batadv_gw_dump (struct sk_buff *msg , struct netlink_callback *cb );

int function, two args, no notes. slay 🫢


🌸 ARGUMENTS 🌸

  • msg β€” the netlink message we're dumping into. it's the canvas, the receptacle, the main character of the operation πŸ’– typed as struct sk_buff *, obviously.
  • cb β€” the control block that's carrying all the extra options around. struct netlink_callback *. it's giving "guy with the clipboard" energy πŸ“‹βœ¨

πŸ”₯ RETURN πŸ”₯

it hands back an error code, or the length of the message β€” which one you get depends on whether it worked, and ngl that's the whole plot 😭


πŸ’€ SEE ALSO πŸ’€

so the kernel file we're living in is ./net/batman-adv/gateway_client.c, and the whole friend group shows up too β€” no cap, here's the full roster 🧚:


✿ and that's the page, bestie ✿ β€” sourced from ./net/batman-adv, dated October 2026, and it's batadv_gw_dump(9) all the way down. go forth and dump those gateways πŸ’…πŸ’œπŸ¦‹

πŸ“¦ where this page comes from