batadv_tt_local_hash_find(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is the batadv_tt_local_hash_find(9) page from the Kernel API Manual β€” it’s a tiny local-table lookup and we’re gonna get into it. πŸ’–

✨ NAME ✨

batadv_tt_local_hash_find β€” search the local table for a given client. literally that’s the whole assignment. πŸŽ€

🌸 SYNOPSIS 🌸

struct batadv_tt_local_entry * batadv_tt_local_hash_find (struct
batadv_priv *bat_priv , const u8 *addr , unsigned short vid );

πŸ’… ARGUMENTS πŸ’…

  • bat_priv β€” the bat priv with all the mesh interface information. it’s giving β€œmain character struct” energy.
  • addr β€” the mac address of the client to look for. yes, the actual MAC we’re hunting down.
  • vid β€” VLAN identifier. aka which VLAN we’re checking, no cap.

πŸ¦‹ RETURN πŸ¦‹

a pointer to the corresponding tt_local_entry struct if the client is found, and NULL otherwise. that’s the whole vibe check, periodt.

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is ./net/batman-adv/translation-table.c, and here is the full friend group β€” every single one, no skips, fr fr:

xoxo, your Unix bestie β€” this one comes from ./net/batman-adv and is dated October 2026. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from