batadv_v_neigh_is_sob(9)
π batadv_v_neigh_is_sob(9) π
okay so this is a page from the Kernel API Manual bestie, and it's giving "is this neighbour actually good enough" energy, and honestly? we love a hype-check function π«Ά
β¨ NAME β¨
batadv_v_neigh_is_sob β check whether two B.A.T.M.A.N. V neighbours have a similar or better throughput π«
(and yes, "sob" stands for similar or better, not the other thing π)
πΈ SYNOPSIS πΈ
bool batadv_v_neigh_is_sob (struct batadv_neigh_node *neigh1 , struct
batadv_hard_iface *if_outgoing1 , struct batadv_neigh_node *neigh2 ,
struct batadv_hard_iface *if_outgoing2 );
π ARGUMENTS π
neigh1β the first neighbour we're comparing, the main character of this duo πif_outgoing1β the outgoing interface to use forneigh1, like its little sidekick π¦neigh2β the second neighbour to compare, the challenger in this scenario πif_outgoing2β the outgoing interface to use forneigh2, its own ride-or-die π
π₯ RETURN π₯
returns true if the throughput of neigh2 is at least 3/4 of the neigh1 throughput
like... 75% or higher and it's a slay, bestie β¨ anything less and it's a no from us π
π SEE ALSO π
the source file is ./net/batman-adv/bat_v.c and it's literally the mothership, go say hi π§ β and here's the whole squad that lives in the same orbit:
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_init_sel_class(9)batadv_v_gw_throughput_get(9)batadv_v_gw_get_best_gw_node(9)batadv_v_gw_is_eligible(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)
it's a whole friend group fr fr, you're gonna bump into all of them eventually π
and that's the whole page, periodt π
this lil drop came from ./net/batman-adv and it's dated October 2026 β so yes bestie, it's from the future, we stay ahead of the trend πβοΈ π
π¦ 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