batadv_is_my_client(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_is_my_client β€” the "is this client mine?" check

okay so bestie, welcome to the batadv_is_my_client(9) page from the Kernel API Manual ✨ this is a tiny little function with one job, and it does it beautifully. It's the vibe check for the translation table: you hand it a client MAC and a VLAN id, and it tells you whether that client is being served by the local node. That's it. That's the whole personality. πŸŽ€


🌸 SYNOPSIS 🌸

bool batadv_is_my_client (struct batadv_priv *bat_priv , const u8 *addr
, unsigned short vid );

literally just three things in, one bool out. no cap. πŸ¦‹


✨ ARGUMENTS ✨

  • bat_priv β€” the bat priv with all the mesh interface information. yes the whole mesh interface info lives in there, she's the main character πŸ’…
  • addr β€” the mac address of the client to check. the one you're side-eyeing πŸ‘€
  • vid β€” VLAN identifier. because clients live inside VLANs, obviously πŸ“

🫢 RETURN 🫢

  • true β€” the client is served by this node. she's ours πŸ’–
  • false β€” she's not. not ours, not today πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/batman-adv/translation-table.c β€” like, the entire translation table lives here, and honestly the sheer number of neighbours this function has is giving "popular girl at school" energy. Look at this roster πŸ‘‘

like, ninety-plus functions. she knows everyone. iykyk πŸ’€βœ¨


ngl the whole page is short and sweet β€” three args, one bool, and a friend group of a hundred translation-table functions. obsessed. 🌈

and that's the page, bestie 🧚 from ./net/batman-adv, dated October 2026, manual section 9 β€” go check on your clients, they're probably fine πŸ’œ

πŸ“¦ where this page comes from