batadv_compare_tt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_compare_tt(9) β€” the Kernel API Manual, bestie edition πŸŽ€

Okay so we're deep in the kernel API manual today (Kernel API Manual, yes that one, section 9, the function-docs girlies) and the function we're stanning is batadv_compare_tt. It's short, it's sweet, it's lowkey the bouncer at the TT-client club. Let's get into it. πŸ’–


✨ NAME ✨

batadv_compare_tt β€” check if two TT entries are the same, no cap 🫢


✨ SYNOPSIS ✨

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

✨ ARGUMENTS ✨

  • node β€” the list element pointer of the first TT entry πŸ’« (yes bestie, it's an hlist_node pointer, it's giving linked-list main character energy)
  • data2 β€” pointer to the tt_common_entry of the second TT entry 🌸

✨ DESCRIPTION ✨

So what does it actually DO? It compares the MAC address and the VLAN ID of the two TT entries and checks whether they're the same TT client. That's it. That's the whole vibe check. πŸͺͺ✨

Like, two entries walk in, it looks at their MAC and their VLAN ID, and goes "hmm, same client?" β€” iconic behaviour honestly. πŸ‘‘


✨ RETURN ✨

Returns true if the two TT clients are the same, false otherwise. Binary queen. πŸ’€βœ…


✨ SEE ALSO ✨

Kernel file ./net/batman-adv/translation-table.c β€” and literally the entire translation-table friend group, fr fr, they all showed up to the group chat: πŸ¦‹

That's the whole roster. Mutuals only. πŸ’œ


Full transparency bestie: this page lives at ./net/batman-adv, and it's dated October 2026. batadv_compare_tt(9) out. πŸ’…βœ¨ slay, stay hydrated, and always compare your MAC and your VLAN ID πŸ“πŸ§š
πŸ“¦ where this page comes from