batadv_iv_gw_dump_entry(9)
π batadv_iv_gw_dump_entry(9) β Kernel API Manual, bestie edition π
okay so this page lives in the Kernel API Manual and it's literally about one little function, batadv_iv_gw_dump_entry, which dumps a gateway into a message. that's the whole vibe. it's in ./net/batman-adv if you're wondering where to find it π
β¨ NAME β¨
batadv_iv_gw_dump_entry β Dump a gateway into a message π«Ά
π¦ SYNOPSIS π¦
int batadv_iv_gw_dump_entry (struct sk_buff *msg , u32 portid , struct
netlink_callback *cb , struct batadv_priv *bat_priv , struct
batadv_gw_node *gw_node );
πΈ ARGUMENTS πΈ
(she has five of them, and yes every single one matters, no cap π)
msgβ the Netlink message you're dumping into πportidβ the port that's making the netlink request, iykykcbβ the control block, which is where the additional options hang outbat_privβ the bat priv, aka the one holding all the mesh interface information πΈοΈgw_nodeβ the gateway that's getting dumped. that's her. that's the main character β¨
π₯ RETURN π₯
an error code, or 0 on success β so like, 0 means slay, anything else means something went sideways π
π SEE ALSO π
the whole friend group, fr fr β all of these live in the kernel file ./net/batman-adv/bat_iv_ogm.c:
enum 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_dump(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(9)batadv_iv_init(9)batadv_iv_deinit(9)
like, that's a lot of siblings but they're all iconic in their own way ππ
ngl that's literally the whole page β no hidden options, no sneaky defaults, no environment variables. what you see is what you get, periodt β¨
and that's a wrap, bestie π this page came from ./net/batman-adv and it's dated October 2026 β go forth and dump those gateways, you're gonna eat π
πβ
π¦ 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