batadv_tt_purge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tt_purge(9) β€” Kernel API Manual πŸŽ€

okay so this is batadv_tt_purge from the Kernel API Manual, and honestly bestie, she's the little cleanup fairy of batman-adv and I'm obsessed 🧚✨


✨ NAME ✨

batadv_tt_purge β€” the periodic worker that keeps the translation table from turning into a hoarder's basement πŸ§ΉπŸ’–


🌸 SYNOPSIS 🌸

void batadv_tt_purge (struct work_struct *work );

πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” the delayed work that's embedded in the per-mesh-interface TT state πŸ’« like she literally lives inside the mesh interface's TT state, that's her whole address

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: this is the periodic worker, and her job is maintenance, no cap. She purges the timed-out entries from both the local TT and the global TT β€” expired stuff? gone. Then she drops the stale TT requests and the roaming clients too, because we do NOT keep those around πŸ’€

And then, icon that she is, she reschedules the next run after BATADV_TT_WORK_PERIOD milliseconds. Every BATADV_TT_WORK_PERIOD milliseconds she comes back. Relentless. Main character energy fr fr πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./net/batman-adv/translation-table.c β€” that's the source file, go say hi 🫢


okay that's the whole page bestie you ATE that reading comprehension πŸ’… this came from ./net/batman-adv, dated October 2026, and it's filed under batadv_tt_purge(9) β€” go forth and purge responsibly πŸ“πŸ«Ά

πŸ“¦ where this page comes from