batadv_compare_orig(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_compare_orig(9) β€” like, the Kernel API Manual page, bestie ✨

okay so picture this: we're deep in the Linux kernel docs, specifically the Kernel API Manual, and we've got this little function called batadv_compare_orig. bestie it's literally the comparing function used in the originator hash table. that's the whole vibe. it compares. in a hash table. for originators. iconic behavior honestly πŸŽ€


🌸 NAME 🌸

batadv_compare_orig β€” the comparing function used in the originator hash table, no cap πŸ’–


✨ SYNOPSIS ✨

bool batadv_compare_orig (const struct hlist_node *node , const void *data2 );

like. look at her. a bool. she returns a bool. she takes two things. she's doing her best πŸ¦‹


🫢 ARGUMENTS 🫢

  • node β€” a node in the local table, bestie. that's the one. the local one. 🏠
  • data2 β€” the second object, aka the one we're comparing the node to. the challenger. the contender. the "who even are you" energy. πŸ™ˆ

⭐ RETURN ⭐

returns true if they are the same originator πŸ’― like yes queen, same originator, we love a match, we stan a match. anything else? not the same originator. that's the whole thing. periodt. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

okay this is the part where the manpage just absolutely dumps the whole friend group on you and honestly? relatable. here's everyone, and you will not be skipping a single one because every single name matters πŸ’–

also quick note: this all lives in the kernel file ./net/batman-adv/originator.c. write that down. πŸŽ€

lowkey a whole squad. highkey a whole squad. πŸ’…


and that's the tea, bestie β€” this page came from the source tree ./net/batman-adv, dated October 2026, and it's filed under batadv_compare_orig(9) in the Kernel API Manual. mwah πŸ’‹ slay, go compare some originators, ily 🫢✨
πŸ“¦ where this page comes from