batadv_tvlv_...ner_register(9)
π 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 typeversionβ tvlv container versiontvlv_valueβ tvlv container contenttvlv_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: sametype+ sameversion= 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:
batadv_tvlv_handler_release(9)batadv_tvlv_handler_put(9)batadv_tvlv_handler_get(9)batadv_tvlv_container_release(9)batadv_tvlv_container_put(9)batadv_tvlv_container_get(9)batadv_tvlv_container_list_size(9)batadv_tvlv_container_remove(9)batadv_tvlv_container_unregister(9)batadv_tvlv_realloc_packet_buff(9)batadv_tvlv_container_ogm_append(9)batadv_tvlv_call_handler(9)batadv_tvlv_hdr_next(9)batadv_tvlv_containers_contain(9)batadv_tvlv_containers_process(9)batadv_tvlv_ogm_receive(9)batadv_tvlv_handler_register(9)batadv_tvlv_handler_unregister(9)batadv_tvlv_unicast_send(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms