batadv_tvlv_handler_get(9)
β¨ batadv_tvlv_handler_get β the kernel API glow-up π¦
okay so bestie, welcome to the batadv_tvlv_handler_get(9) page π this one lives in the Kernel API Manual and it's literally just a little lookup function, but we're gonna treat it with the respect it deserves π
π NAME π
batadv_tvlv_handler_get β retrieve a tvlv handler from the tvlv handler list, based on the provided type and version (and yes, both need to match, no cap)
β¨ SYNOPSIS β¨
struct batadv_tvlv_handler * batadv_tvlv_handler_get (struct batadv_priv
*bat_priv , u8 type , u8 version );
short and sweet, honestly. love that for us π«Ά
π ARGUMENTS π
bat_privβ the bat priv that's holding all the mesh interface information π this is your main character structtypeβ the tvlv handler type we're looking for πversionβ the tvlv handler version we're looking for βοΈ
remembeh: type AND version both gotta match. it's giving "must have both keys to unlock" π
πΈ RETURN πΈ
the tvlv handler if it's found β or NULL otherwise π so like, always vibe check your return value, bestie.
π¦ SEE ALSO π¦
Kernel file ./net/batman-adv/tvlv.c β and its whole friend group:
batadv_tvlv_handler_release(9)batadv_tvlv_handler_put(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_container_register(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)
and that's the whole page bestie, you ate that π
β¨ sign-off time: this one's from ./net/batman-adv, dated October 2026, and it's batadv_tvlv_handler_get(9) β iconic, no notes οΏ½οΏ½π
π¦ 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