batadv_tt_fill_gtable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tt_fill_gtable(9) β€” like, the Kernel API Manual but make it make sense πŸ¦‹

okay so bestie, we're in the Kernel API Manual today and this one's a banger. sit down, hydrate, let's talk about what happens when your mesh friend sends you their entire translation table and you just... swap yours out for it πŸ’–


✨ NAME ✨

batadv_tt_fill_gtable β€” replace the cached TT of an originator with a full table response

yes that's the whole vibe. one originator, one fresh full table, one glow-up ✨


πŸŽ€ SYNOPSIS πŸŽ€

void batadv_tt_fill_gtable (struct batadv_priv *bat_priv , struct
batadv_tvlv_tt_change *tt_change , u8 ttvn , u8 *resp_src , u16
num_entries );

it returns void, so no "did it work" moment β€” it just does the thing, periodt πŸ’…


🌸 ARGUMENTS 🌸

  • bat_priv β€” the bat priv stuffed with all the mesh interface information. it's the main character, it knows everything 🫢
  • tt_change β€” array of TT change entries describing the full table. like, the whole entire table, not just a diff, iykyk 🌈
  • ttvn β€” the TTVN announced together with the full table. it ships alongside, holding hands with the table πŸŽ€
  • resp_src β€” MAC address of the responder. who's speaking, bestie? this guy πŸ”₯
  • num_entries β€” number of entries in tt_change. count 'em, don't guess ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜•: drop the previously known global TT entries of resp_src and replace them with the entries from a freshly received full TT response.

that's it. that's the function. old entries? gone πŸ’€ new entries from the fresh full response? in πŸ‘‘ it's literally a "your table is now this" moment and honestly? iconic.


πŸ’œ SEE ALSO πŸ’œ

the whole friend group shows up for this one. it lives in the kernel file ./net/batman-adv/translation-table.c and it's neighbors with everyone:


and that's the whole page bestie, no crumbs left πŸ“

ngl the mesh life chose us. go read the source at ./net/batman-adv if you wanna see it in the wild 🌈

so anyway, this little gem is dated October 2026 and it ships out of ./net/batman-adv β€” mwah, slay, see you in the next manpage πŸ’…πŸ’–πŸ§š

πŸ“¦ where this page comes from