batadv_v_gw_dump_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_v_gw_dump_entry β€” like, the whole glow-up

okay so bestie, welcome to the batadv_v_gw_dump_entry(9) page from the Kernel API Manual πŸ“–βœ¨ β€” yes, we're in kernel-doc territory, grab a lil snack, this one's actually short and sweet πŸ“


✨ NAME ✨

batadv_v_gw_dump_entry β€” Dump a gateway into a message πŸŽ€

no cap, that's the whole vibe: one gateway node, one netlink message, get it in there πŸ’Œ


πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_v_gw_dump_entry (struct sk_buff *msg , u32 portid , struct
netlink_callback *cb , struct batadv_priv *bat_priv , struct
batadv_gw_node *gw_node );

she takes five arguments and returns an int, main character energy honestly πŸ‘‘


🌸 ARGUMENTS 🌸

like, meet the cast 🫢

  • msg β€” the Netlink message she's dumping into πŸ’Œ that's the destination, the whole point of the operation
  • portid β€” the port making the netlink request 🌈 (yes, which port, we're being specific)
  • cb β€” the control block, and it's carrying additional options on top 😌 the little briefcase of extra settings
  • bat_priv β€” the bat priv πŸ¦‡ holding all the mesh interface information, like every single mesh-interface deet lives here
  • gw_node β€” the gateway to be dumped ✨ the actual star of the show, the node getting written into the message

⭐ RETURN ⭐

An error code, or 0 on success πŸŽ‰ so like, zero is the slay outcome, anything else is the universe telling you something went sideways πŸ˜­πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

literally the entire bat_v.c friend group, they all live in ./net/batman-adv/bat_v.c in the kernel source, iykyk πŸ§šβ€β™€οΈ

heads up bestie, that bat_v.c reference is the Kernel file ./net/batman-adv/bat_v.c β€” that's where you'll find her 🫢

that's the whole page, no skips, no cuts πŸ’– mwah πŸ’‹

source/version: ./net/batman-adv 🌸 dated: October 2026 πŸ“… and the page you just read is batadv_v_gw_dump_entry(9) β€” periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from