batadv_v_gw_is_eligible(9)
okay bestie, this is batadv_v_gw_is_eligible(9) from the Kernel API Manual π§β¨ and itβs giving gateway election check, but make it kernel. no cap, hereβs the whole thing π
πΈ NAME πΈ
batadv_v_gw_is_eligible β check if an originator would be selected as GW π
β¨ SYNOPSIS β¨
bool batadv_v_gw_is_eligible (struct batadv_priv *bat_priv , struct
batadv_orig_node *curr_gw_orig , struct batadv_orig_node *orig_node );
π ARGUMENTS π
bat_privβ the bat priv with all the mesh interface information π«Ά literally the whole mesh-interface-info situation.curr_gw_origβ originator representing the currently selected GW π the one currently holding the GW crown.orig_nodeβ the originator representing the new candidate π the new candidate stepping up.
π RETURN π
true if orig_node can be selected as current GW, false otherwise. thatβs it, thatβs the verdict π
π¦ SEE ALSO π¦
The kernel file is ./net/batman-adv/bat_v.c, and hereβs the whole SEE ALSO friend group π:
batadv_v_iface_activate(9)batadv_v_iface_enable(9)batadv_v_iface_disable(9)batadv_v_primary_iface_set(9)batadv_v_iface_update_mac(9)batadv_v_hardif_neigh_init(9)batadv_v_neigh_dump_neigh(9)batadv_v_neigh_dump_hardif(9)batadv_v_neigh_dump(9)batadv_v_orig_dump_subentry(9)batadv_v_orig_dump_entry(9)batadv_v_orig_dump_bucket(9)batadv_v_orig_dump(9)batadv_v_neigh_cmp(9)batadv_v_neigh_is_sob(9)batadv_v_init_sel_class(9)batadv_v_gw_throughput_get(9)batadv_v_gw_get_best_gw_node(9)batadv_v_gw_dump_entry(9)batadv_v_gw_dump(9)batadv_v_hardif_init(9)batadv_v_mesh_init(9)batadv_v_mesh_free(9)batadv_v_init(9)batadv_v_deinit(9)
thatβs the page, bestie π the source/version situation is ./net/batman-adv, dated October 2026, and yes this page is literally batadv_v_gw_is_eligible(9) β 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