batadv_gw_dump(9)
π batadv_gw_dump β NAME
okay so, bestie, this is batadv_gw_dump(9) from the Kernel API Manual (section 9, the kernel-functions girlies β¨) β and what it does is literally dump gateways into a message. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int batadv_gw_dump (struct sk_buff *msg , struct netlink_callback *cb );
int function, two args, no notes. slay π«Ά
πΈ ARGUMENTS πΈ
msgβ the netlink message we're dumping into. it's the canvas, the receptacle, the main character of the operation π typed asstruct sk_buff *, obviously.cbβ the control block that's carrying all the extra options around.struct netlink_callback *. it's giving "guy with the clipboard" energy πβ¨
π₯ RETURN π₯
it hands back an error code, or the length of the message β which one you get depends on whether it worked, and ngl that's the whole plot π
π SEE ALSO π
so the kernel file we're living in is ./net/batman-adv/gateway_client.c, and the whole friend group shows up too β no cap, here's the full roster π§:
batadv_gw_node_release(9)batadv_gw_get_selected_gw_node(9)batadv_gw_get_selected_orig(9)batadv_gw_select(9)batadv_gw_reselect(9)batadv_gw_check_client_stop(9)batadv_gw_election(9)batadv_gw_check_election(9)batadv_gw_node_add(9)batadv_gw_node_get(9)batadv_gw_node_update(9)batadv_gw_node_delete(9)batadv_gw_node_free(9)batadv_gw_dhcp_recipient_get(9)batadv_gw_out_of_range(9)
βΏ and that's the page, bestie βΏ β sourced from ./net/batman-adv, dated October 2026, and it's batadv_gw_dump(9) all the way down. go forth and dump those gateways π
ππ¦
π¦ 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