batadv_v_neigh_dump_hardif(9)
π batadv_v_neigh_dump_hardif(9) π
okay so bestie, welcome to the kernel API manual for batadv_v_neigh_dump_hardif β yes that's a mouthful, no you don't have to say it out loud, but likeβ¦ learn it, love it, it's iconic β¨
πΈ NAME πΈ
batadv_v_neigh_dump_hardif β dumps the neighbours of a hard interface into a message, fr fr that's the whole job π
π SYNOPSIS π
int batadv_v_neigh_dump_hardif (struct sk_buff *msg , u32 portid , u32
seq , struct batadv_priv *bat_priv , struct batadv_hard_iface
*hard_iface , int *idx_s );
like, look at her. six arguments. main character energy honestly π
π¦ ARGUMENTS π¦
msgβ the Netlink message you're dumping into π«Ά this is where the output livesportidβ the port making the netlink request, iykykseqβ the sequence number of the netlink message, gotta keep 'em in order bestiebat_privβ the bat priv holding all the mesh interface information β the whole lore β¨hard_ifaceβ the hard interface that's getting dumped, the moment of truthidx_sβ entries to be skipped, lowkey the "yeah we already did those ones" counter π
π DESCRIPTION π
so here's the vibe check: this function assumes the caller holds rcu_read_lock. that's not a suggestion, that's a whole requirement β do not come for her without it π
β RETURN β
returns an error code, or 0 on success π (0 = we ate, no crumbs π)
π₯ SEE ALSO π₯
the kernel file ./net/batman-adv/bat_v.c and honestly her entire extended friend group:
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(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)
like, that's not a SEE ALSO, that's a whole group chat ππ
ok that's the whole page bestie, go forth and dump those neighbours responsibly π§ββοΈ
kisses, from ./net/batman-adv, dated October 2026 β same page, same batadv_v_neigh_dump_hardif(9) energy, 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