batadv_v_neigh_dump(9)
π 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 π:
batadv_v_iface_activate(9)batadv_v_iface_enable(9)batadv_v_iface_disable(9)batadv_v_primary_iface_set(9)batadv_v_iface_update_mac(9)batadv_v_hardif_neigh_init(9)batadv_v_neigh_dump_neigh(9)batadv_v_neigh_dump_hardif(9)batadv_v_orig_dump_subentry(9)batadv_v_orig_dump_entry(9)batadv_v_orig_dump_bucket(9)batadv_v_orig_dump(9)batadv_v_neigh_cmp(9)batadv_v_neigh_is_sob(9)batadv_v_init_sel_class(9)batadv_v_gw_throughput_get(9)batadv_v_gw_get_best_gw_node(9)batadv_v_gw_is_eligible(9)batadv_v_gw_dump_entry(9)batadv_v_gw_dump(9)batadv_v_hardif_init(9)batadv_v_mesh_init(9)batadv_v_mesh_free(9)batadv_v_init(9)batadv_v_deinit(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms