batadv_tvlv_...ner_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tvlv_container_register(9) β€” the kernel API manual, bestie edition πŸ’–

ok so this is a page from the Kernel API Manual, section 9 (that's the kernel-functions section, iykyk), and the star of the show is batadv_tvlv_container_register</p> β€” which, no cap, is the function that registers a tvlv type, version and content so it gets propagated with every (primary interface) OGM. slay.


✨ SYNOPSIS ✨

void batadv_tvlv_container_register (struct batadv_priv *bat_priv , u8
type , u8 version , void *tvlv_value , u16 tvlv_value_len );

that's the whole signature, character for character, bestie. don't come for me about the line breaks β€” they're canon πŸŽ€


🌸 ARGUMENTS 🌸

  • bat_priv β€” the bat priv with all the mesh interface information. it's giving "main character holding every detail of the mesh" energy πŸ‘‘
  • type β€” tvlv container type
  • version β€” tvlv container version
  • tvlv_value β€” tvlv container content
  • tvlv_value_len β€” tvlv container content length

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: if a container of the same type and version was already registered, the new content is going to replace the old one. periodt. no drama, no merge, just out-with-the-old πŸ’…

lowkey important: same type + same version = the new content replaces the old one. that's the whole rule, fr fr.

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./net/batman-adv/tvlv.c, and it's surrounded by a whole friend group of functions β€” every single one, in order, no skips:

go read them all, bestie, they ate πŸ”₯


and that's the page!! mwah 🫢 this lil beauty comes from ./net/batman-adv, dated October 2026, and it's filed under batadv_tvlv_...ner_register(9) in the Kernel API Manual. bye babes, go register some containers πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from