batadv_tt_local_set_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tt_local_set_flags β€” from the Kernel API Manual, bestie

Okay so picture this: you're deep in the kernel, you're poking at the local translation table, and you just wanna flip a flag or two. That's this function. It's the little button-pusher for local TT flags, and yes it can also help keep the TT size tally accurate while it's at it. Iconic behaviour, honestly.


πŸŽ€ NAME

batadv_tt_local_set_flags β€” sets (or unsets) the flags you name on the local table, and can optionally count those changed entries toward the TT size. Both directions, no cap. πŸ’…


✨ SYNOPSIS

void batadv_tt_local_set_flags (struct batadv_priv *bat_priv , u16 flags
, bool enable , bool count );

🌸 ARGUMENTS

  • bat_priv β€” the bat priv holding all the mesh interface info. It's the main character of this whole situation 🫢
  • flags β€” the flag you wanna switch. This is the one being toggled, bestie ✨
  • enable β€” tells it whether to set the flag or unset it. Set or unset, pick a lane πŸ’«
  • count β€” whether to bump the TT size up by however many entries actually changed πŸ“ˆ

πŸ’œ SEE ALSO

Like, the whole translation-table family reunion, no cap. It all lives in the kernel file ./net/batman-adv/translation-table.c, and these are the cousins:


That's the whole squad, fr fr. Nothing skipped, nothing merged β€” go read them all, iykyk πŸ¦‹

Okay bestie, signing off β€” this one comes from ./net/batman-adv, dated October 2026, and it answers to the name batadv_tt_local_set_flags(9). Slay, bye! πŸŽ€βœ¨

πŸ“¦ where this page comes from