batadv_iv_gw_dump_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_iv_gw_dump_entry(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so this page lives in the Kernel API Manual and it's literally about one little function, batadv_iv_gw_dump_entry, which dumps a gateway into a message. that's the whole vibe. it's in ./net/batman-adv if you're wondering where to find it πŸ’–


✨ NAME ✨

batadv_iv_gw_dump_entry β€” Dump a gateway into a message 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

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

🌸 ARGUMENTS 🌸

(she has five of them, and yes every single one matters, no cap πŸ‘‘)

  • msg β€” the Netlink message you're dumping into πŸ’Œ
  • portid β€” the port that's making the netlink request, iykyk
  • cb β€” the control block, which is where the additional options hang out
  • bat_priv β€” the bat priv, aka the one holding all the mesh interface information πŸ•ΈοΈ
  • gw_node β€” the gateway that's getting dumped. that's her. that's the main character ✨

πŸ”₯ RETURN πŸ”₯

an error code, or 0 on success β€” so like, 0 means slay, anything else means something went sideways 😭


πŸ’œ SEE ALSO πŸ’œ

the whole friend group, fr fr β€” all of these live in the kernel file ./net/batman-adv/bat_iv_ogm.c:

like, that's a lot of siblings but they're all iconic in their own way πŸ’€πŸ’–


ngl that's literally the whole page β€” no hidden options, no sneaky defaults, no environment variables. what you see is what you get, periodt ✨

and that's a wrap, bestie πŸŽ€ this page came from ./net/batman-adv and it's dated October 2026 β€” go forth and dump those gateways, you're gonna eat πŸ’…πŸŒˆβ­

πŸ“¦ where this page comes from