batadv_tt_gl...g_entry_find(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the Kernel API Manual page for batadv_tt_gl...g_entry_find(9) β€” literally the whole time I was reading this I was like "bestie this is just a lookup function" and I was RIGHT. It's batadv_tt_global_orig_entry_find β€” find a TT orig_list_entry. that's it. that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

struct batadv_tt_orig_list_entry * batadv_tt_global_orig_entry_find
(const struct batadv_tt_global_entry *entry , const struct
batadv_orig_node *orig_node );

like, it returns a struct batadv_tt_orig_list_entry *, and it takes entry and orig_node, no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • entry β€” the TT global entry where the orig_list_entry has to be extracted from, iykyk. this is the bag you're digging around in πŸ’…
  • orig_node β€” the originator for which the orig_list_entry has to be found. this is the thing you're looking for in the bag πŸ”

🌸 DESCRIPTION 🌸

okay so the actual job: retrieve the orig_tt_list_entry belonging to orig_node from the batadv_tt_global_entry list. that's the entire plot. no twist. main character energy but make it a list traversal πŸ‘‘


πŸ”₯ RETURN πŸ”₯

it comes back with an increased refcounter, or NULL if not found 😭 (so bestie, if you get NULL, it's not there, don't go dereferencing it, I'm begging πŸ™ˆ).

also the refcounter thing is real β€” the refcount is increased on the thing you get back, so handle it like the precious resource it is πŸ’œ

🌈 SEE ALSO 🌈

this list is long long, so buckle up bestie, every single one of these is (9) and I'm not skipping a single one, periodt πŸ’€

and yeah, batadv_is_ap_isolated(9) really does show up twice in there, I'm not gonna pretend I didn't notice, but I'm keeping it because fidelity is the whole assignment πŸ’…βœ¨


🧚 the little sign-off 🧚

source sitch: ./net/batman-adv β€” that's the kernel file for this one, and yes the SEE ALSO said Kernel file ./net/batman-adv/translation-table.c too πŸ“

dated October 2026 ⭐ and the manual page is batadv_tt_gl...g_entry_find(9) in case you forgot halfway down this absolute wall of TT functions πŸ˜­πŸ’–

go find your orig entry bestie, you got this πŸ‘‘

πŸ“¦ where this page comes from