batadv_gw_node_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 🫢


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