batadv_iv_ogm_neigh_dump(9)
π batadv_iv_ogm_neigh_dump(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from ./net/batman-adv land and it's literally just about dumping neighbour info into a netlink message. no cap, that's the whole vibe.
β¨ NAME β¨
batadv_iv_ogm_neigh_dump β Dump the neighbours into a message π«Ά
πΈ SYNOPSIS πΈ
void batadv_iv_ogm_neigh_dump (struct sk_buff *msg , struct
netlink_callback *cb , struct batadv_priv *bat_priv , struct
batadv_hard_iface *single_hardif );
like, it returns void β nothing comes back out, the info goes into the message. it's giving "i don't need a return value, i have a msg". π
π ARGUMENTS π
msgβ the Netlink message you're dumping into. this is the main character fr fr, everything lands here πcbβ the control block, and it's carrying the extra options for you. lil suitcase of settings π§³bat_privβ "The bat priv with all the mesh interface information". that's the original wording and honestly? iconic. it's the whole mesh interface knowledge base, all of it πsingle_hardifβ if you pass this, the dump is limited to this hard interface. only one hardif invited to the party π
π¦ SEE ALSO π¦
the whole batman-adv IV friend group, and yes i'm listing every single one because they all ate π₯
Kernel file ./net/batman-adv/bat_iv_ogm.cenum batadv_dup_status(9)batadv_ring_buffer_set(9)batadv_ring_buffer_avg(9)batadv_iv_ogm_orig_get(9)batadv_iv_ogm_neigh_new(9)batadv_iv_ogm_iface_enable(9)batadv_iv_ogm_iface_disable(9)batadv_iv_ogm_iface_update_mac(9)batadv_iv_ogm_primary_iface_set(9)batadv_iv_ogm_emit_send_time(9)batadv_iv_ogm_fwd_send_time(9)batadv_hop_penalty(9)batadv_iv_ogm_aggr_packet(9)batadv_iv_ogm_send_to_if(9)batadv_iv_ogm_emit(9)batadv_iv_ogm_can_aggregate(9)batadv_iv_ogm_aggregate_new(9)batadv_iv_ogm_aggregate(9)batadv_iv_ogm_queue_add(9)batadv_iv_ogm_forward(9)batadv_iv_ogm_slide_own_bcast_window(9)batadv_iv_ogm_schedule_buff(9)batadv_iv_ogm_schedule(9)batadv_iv_ogm_reschedule(9)batadv_iv_orig_ifinfo_sum(9)batadv_iv_ogm_neigh_ifinfo_sum(9)batadv_iv_ogm_orig_update(9)batadv_iv_ogm_calc_tq(9)batadv_iv_ogm_update_seqnos(9)batadv_orig_to_direct_router(9)batadv_iv_ogm_process_per_outif(9)batadv_iv_ogm_process_reply(9)batadv_iv_ogm_process(9)batadv_iv_send_outstanding_bat_ogm_packet(9)batadv_iv_ogm_receive(9)batadv_iv_ogm_neigh_get_tq_avg(9)batadv_iv_ogm_orig_dump_subentry(9)batadv_iv_ogm_orig_dump_entry(9)batadv_iv_ogm_orig_dump_bucket(9)batadv_iv_ogm_orig_dump(9)batadv_iv_ogm_neigh_diff(9)batadv_iv_ogm_neigh_dump_neigh(9)batadv_iv_ogm_neigh_dump_hardif(9)batadv_iv_ogm_neigh_cmp(9)batadv_iv_ogm_neigh_is_sob(9)batadv_iv_iface_enabled(9)batadv_iv_init_sel_class(9)batadv_iv_gw_get_best_gw_node(9)batadv_iv_gw_is_eligible(9)batadv_iv_gw_dump_entry(9)batadv_iv_gw_dump(9)batadv_iv_init(9)batadv_iv_deinit(9)
and that's the whole page bestie, go forth and dump those neighbours ππ
β§ο½₯οΎ source: ./net/batman-adv Β· October 2026 Β· batadv_iv_ogm_neigh_dump(9) οΎο½₯β§ slay, bye π
β¨
π¦ 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