batadv_gw_node_add(9)
π¦ batadv_gw_node_add(9) π¦
okay bestie, welcome to the Kernel API Manual entry for batadv_gw_node_add(9) β weβre adding a gateway node to the list of available gateways and the vibes are very mesh-core. no cap. π
β¨ NAME β¨
batadv_gw_node_add β add gateway node to list of available gateways π«Ά
πΈ SYNOPSIS πΈ
void batadv_gw_node_add (struct batadv_priv *bat_priv , struct
batadv_orig_node *orig_node , struct batadv_tvlv_gateway_data *gateway
);
π ARGUMENTS π
bat_privβ the bat priv with all the mesh interface information. literally all of it πorig_nodeβ originator announcing gateway capabilities πgatewayβ announced bandwidth information πΆ
π DESCRIPTION π
okay so the one thing you cannot skip: this has to be called with the appropriate locks being acquired (gw.list_lock). like, lock check first, bestie β do not skip the lock era πβ¨
π₯ SEE ALSO π₯
Kernel file: ./net/batman-adv/gateway_client.c β thatβs the home base for this whole gateway-client situation π«Ά
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_get(9)batadv_gw_node_update(9)batadv_gw_node_delete(9)batadv_gw_node_free(9)batadv_gw_dump(9)batadv_gw_dhcp_recipient_get(9)batadv_gw_out_of_range(9)
cute sign-off: source/version ./net/batman-adv, dated October 2026, page title batadv_gw_node_add(9) β mwah, bye bestie! ππ¦
π¦ 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