batadv_iv_gw_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_iv_gw_dump(9) ✨

okay so bestie, we're in the Kernel API Manual, section 9, and today's main character is batadv_iv_gw_dump. it lives in ./net/batman-adv and honestly? it's giving "i just dump gateways into a message, no big deal." πŸ’…


🌸 NAME 🌸

batadv_iv_gw_dump β€” Dump gateways into a message

like. that's it. that's the whole job. gateway info goes in the message. periodt. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_iv_gw_dump (struct sk_buff *msg , struct netlink_callback
* cb , struct batadv_priv *bat_priv );

it returns void btw β€” no return value, no little treat at the end. it just does the thing and leaves. main character energy fr fr ✨


πŸ’– ARGUMENTS πŸ’–

  • msg β€” the Netlink message you're dumping into 🫢 this is the destination, the vibe check container, the place where the gateway tea gets poured
  • cb β€” the control block, and it's carrying additional options β€” lowkey the little bag of settings that comes along for the ride πŸŽ€
  • bat_priv β€” the bat priv, which has all the mesh interface information in it. like, all of it. the whole mesh. iconic πŸ‘‘

🌈 SEE ALSO 🌈

okay this is the part where i hold your hand, because the list is LONG and we are not skipping a single one β€” every reference stays, no cap πŸ™ˆπŸ’€

like yes, all 53 of them. i counted. we don't leave people behind in this group chat πŸ’œ

quick reminder bestie: batadv_iv_gw_dump is the gateway-dumping one β€” the similar-looking batadv_iv_gw_dump_entry(9) is its own separate thing up there in SEE ALSO. don't get them mixed up πŸ’…

and that's the page!! short, sweet, and absolutely slaying. this one came from the kernel source dir ./net/batman-adv, dated October 2026, and it's manual page batadv_iv_gw_dump(9) β€” mwah, go read the OGM ones next, ily πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from