batadv_v_neigh_is_sob(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 for neigh1, like its little sidekick πŸ¦‹
  • neigh2 β€” the second neighbour to compare, the challenger in this scenario πŸ’€
  • if_outgoing2 β€” the outgoing interface to use for neigh2, 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:

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