batadv_tt_local_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tt_local_remove(9) πŸ’…

ok so this is a page from the Kernel API Manual β€” yes bestie, the actual kernel docs, we're in the big leagues now πŸŽ€ β€” and it's all about batadv_tt_local_remove, which logically removes an entry from the local table. that's it, that's the whole vibe. it looks like it deletes something, but it's a logical removal, so the entry isn't gone-gone, it's just… marked. we'll get to that.


✨ SYNOPSIS ✨

u16 batadv_tt_local_remove (struct batadv_priv *bat_priv , const u8
*addr , unsigned short vid , const char *message , bool roaming );

it's giving "returns a u16" β€” and spoiler, that return value is kind of the whole point. keep reading πŸ’–


🫢 ARGUMENTS 🫢

  • bat_priv β€” the bat priv with all the mesh interface information. think of it as the main character of the mesh: it's holding literally everything you need to know about the interface 🌈
  • addr β€” the MAC address of the client to remove. like, which client. pinpoint it, bestie πŸ’…
  • vid β€” VLAN identifier. yes, VLANs. we love a network with layers πŸŽ€
  • message β€” message to append to the log on deletion. so when this entry gets yeeted, your little note rides along in the log. it's giving "left a signed note on the way out" 😭
  • roaming β€” true if the deletion is due to a roaming event. so like, if this client just wandered off to another node, you flag it here πŸ¦‹

⭐ RETURN ⭐

the flags assigned to the local entry before being deleted. that's the tea πŸ”₯ β€” you get the flags as they were pre-deletion, so you can still see what the entry was rocking before it got logically removed.


πŸ¦‹ SEE ALSO πŸ¦‹

ok this list is long long β€” but every single one is here, no skips, no "etc.", we're thorough in this household πŸ‘‘

Kernel file ./net/batman-adv/translation-table.c:

ngl, if you read all 100+ of those you deserve a little treat πŸ“ genuinely iconic of you.

k that's the whole page, bestie β€” mwah πŸ’‹

source/version: ./net/batman-adv Β· dated October 2026 Β· and yeah, it's batadv_tt_local_remove(9) all the way down πŸŽ€βœ¨

πŸ“¦ where this page comes from