batadv_tt_global_size_dec(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tt_global_size_dec(9) πŸ’…

okay bestie, so this is a page out of the Kernel API Manual β€” literally the kernel docs, and yes we're reading them for fun now, that's just who we are πŸŽ€ β€” and it's all about one lil function in batman-adv called batadv_tt_global_size_dec.


✨ NAME ✨

batadv_tt_global_size_dec β€” decrease by one the global table size for the given vid

like, that's it. that's the whole job. it's a counter that goes down by exactly one, for one specific vlan id. no cap, some functions are just one (1) little guy doing one (1) little thing and honestly? respect 🫢


🌸 SYNOPSIS 🌸

void batadv_tt_global_size_dec (struct batadv_orig_node *orig_node ,
unsigned short vid );

note the void β€” she returns nothing, she just does the thing and leaves πŸ’… no return value to check, no error to handle, she's got main character energy and zero drama.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • orig_node β€” the originator which global table size has to be decreased. like, this is the node whose bookkeeping we're shaving one (1) off of πŸ“
  • vid β€” the vlan identifier. yes bestie, the vlan matters, that's the whole point β€” it's an unsigned short, keep it that way 😭

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where the manpage just dumps the entire translation-table friendship group on you. the kernel file is ./net/batman-adv/translation-table.c and here is every single friend in the group chat, in order, no skips, no cuts, we don't do that here πŸ”₯

bestie, pro tip from your girl: if batadv_tt_global_size_inc exists and batadv_tt_global_size_dec exists and batadv_tt_global_size_mod exists, maybe don't call _dec when you wanted _mod. balance is everything πŸ’€

that's the whole page, bestie, go forth and decrement responsibly 🧚 from ./net/batman-adv, dated October 2026, in the Kernel API Manual β€” mwah, love u, go read the translation table source πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from