batadv_compare_orig(9)
π 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. π
batadv_orig_hash_find(9)batadv_orig_node_vlan_get(9)batadv_vlan_id_valid(9)batadv_orig_node_vlan_new(9)batadv_orig_node_vlan_release(9)batadv_originator_init(9)batadv_neigh_ifinfo_release(9)batadv_hardif_neigh_release(9)batadv_neigh_node_release(9)batadv_orig_router_get(9)batadv_orig_to_router(9)batadv_orig_ifinfo_get(9)batadv_orig_ifinfo_new(9)batadv_neigh_ifinfo_get(9)batadv_neigh_ifinfo_new(9)batadv_neigh_node_get(9)batadv_hardif_neigh_create(9)batadv_hardif_neigh_get_or_create(9)batadv_hardif_neigh_get(9)batadv_neigh_node_create(9)batadv_neigh_node_get_or_create(9)batadv_hardif_neigh_dump(9)batadv_orig_ifinfo_release(9)batadv_orig_node_free_rcu(9)batadv_orig_node_release(9)batadv_originator_free(9)batadv_orig_node_new(9)batadv_purge_neigh_ifinfo(9)batadv_purge_orig_ifinfo(9)batadv_purge_orig_neighbors(9)batadv_find_best_neighbor(9)batadv_purge_orig_node(9)batadv_purge_orig_ref(9)batadv_purge_orig(9)batadv_orig_dump(9)
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 underbatadv_compare_orig(9)in the Kernel API Manual. mwah π slay, go compare some originators, ily π«Άβ¨
π¦ 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