batadv_tt_local_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ batadv_tt_local_event(9) β€” the kernel API manual, bestie edition

okay so first things first: this is a page from the Kernel API Manual, and the function we're stanning today is batadv_tt_local_event. it's short, it's sweet, it's giving "tiny function, big job" energy πŸ’…

✨ NAME ✨

batadv_tt_local_event β€” store a local TT event (ADD/DEL) πŸ’–

like, that's literally it. it files away one local translation-table event, and the event is either an ADD or a DEL. no cap, that's the whole vibe.


🌸 SYNOPSIS 🌸

void batadv_tt_local_event (struct batadv_priv *bat_priv , struct
       batadv_tt_local_entry *tt_local_entry , u8 event_flags );

it returns void, so don't be out here expecting a return value, bestie. there is none. she just does the thing and dips. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. it's the main-character struct holding everything about the mesh interface, so of course she comes first. πŸ‘‘
  • tt_local_entry β€” the TT entry involved in the event. this is the translation-table entry that the event is actually about, iykyk. πŸ¦‹
  • event_flags β€” flags to store in the event structure. a u8 of flags that get tucked straight into the event struct. ⭐

πŸ”₯ SEE ALSO πŸ”₯

this list is lowkey enormous and honestly iconic β€” it's the whole translation-table cinematic universe, all from the kernel file ./net/batman-adv/translation-table.c. every single one, in order, no skips (we don't gatekeep here):

and yes, that really is the whole list. 103 of them. respect the hustle. πŸ’€

sign-off time, bestie πŸŽ€βœ¨

this little beauty lives in the source <green>./net/batman-adv</green>, and the manual itself is dated <yellow>October 2026</yellow>. that's the version and date, fr fr β€” screenshot it, put it in the group chat, and go store some TT events. slay. πŸ’…πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from