batadv_iv_ogm_neigh_is_sob(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_iv_ogm_neigh_is_sob ✨

okay so this page is from the Kernel API Manual and it's literally all about one adorable little function: batadv_iv_ogm_neigh_is_sob. bestie, the whole job of this icon is comparing two neighbors and being like "is neigh1 as good as neigh2, or even better?" β€” metric-wise πŸ’…


πŸŽ€ NAME πŸŽ€

batadv_iv_ogm_neigh_is_sob β€” checks if neigh1 is similarly good or better than neigh2 from the metric prospective πŸ¦‹


🌸 SYNOPSIS 🌸

bool batadv_iv_ogm_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 neighbor object of the comparison. main character #1 πŸ‘‘
  • if_outgoing1 β€” outgoing interface for the first neighbor. the vibe check lane for neigh1 πŸ›£οΈ
  • neigh2 β€” the second neighbor object of the comparison. main character #2, here for the showdown ⭐
  • if_outgoing2 β€” outgoing interface for the second neighbor. neigh2's own little lane 🌈

πŸ”₯ RETURN πŸ”₯

true if the metric via neigh1 is equally good or better than the metric via neigh2, false otherwise. that's it, that's the whole verdict ✨

no cap, it's a strict little bool β€” either neigh1 ate or it didn't πŸ’€

🫢 SEE ALSO 🫢

all the besties in the same friend group, lowkey a whole group chat:

also the source file it lives in: ./net/batman-adv/bat_iv_ogm.c β€” that's home base 🏑


that's the whole page, bestie, every single detail preserved and slayed πŸ’œ

sign-off szn πŸŽ€: this was the Kernel API Manual entry for batadv_iv_ogm_neigh_is_sob(9), coming at you from ./net/batman-adv, dated October 2026 β€” mwah, study it, it's giving icon behavior βœ¨πŸ’…

πŸ“¦ where this page comes from