batadv_v_neigh_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_v_neigh_dump(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual, bestie β€” it's the docs for batadv_v_neigh_dump, one of the batman-adv crew. no cap, it's icon.


✨ NAME ✨

batadv_v_neigh_dump β€” dumps the neighbours of a hard interface into a message 🫢

like, it takes all the neighbour info and yeets it into a netlink message for you. iconic behaviour honestly.


🌸 SYNOPSIS 🌸

void batadv_v_neigh_dump (struct sk_buff *msg , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_hard_iface *single_hardif );

the way that signature is just sitting there being all void and four-arguments-long… main character energy fr fr. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • msg β€” the netlink message you're dumping into πŸ’Œ β€” this is where all the neighbour tea gets poured.
  • cb β€” the control block, and it's carrying the extra options around like a little purse. πŸŽ€
  • bat_priv β€” the bat priv holding all the mesh interface info. yes, all of it. she's the whole vibe check of the mesh. ✨
  • single_hardif β€” if you pass this, the dump is limited to just this one hard interface. lowkey a "we're only talking about this one" moment. 🎯

πŸ‘‘ SEE ALSO πŸ‘‘

over in the kernel file ./net/batman-adv/bat_v.c you'll find the whole friend group β€” go say hi πŸ’–:


ngl if you're reading this at 3am debugging a mesh, drink some water and slay, bestie πŸ“

and that's the whole page!! shipped from ./net/batman-adv, dated October 2026, and the page itself is batadv_v_neigh_dump(9) β€” mwah, periodt πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from