batadv_tvlv_unicast_send(9)
π batadv_tvlv_unicast_send(9) β like, the kernel API manual, but make it make sense
okay bestie, so this one is from the Kernel API Manual and it's called batadv_tvlv_unicast_send β say that five times fast, i literally dare you π
. it's the function that sends a unicast packet with a tvlv payload to whichever host you point at. yes, that's the whole vibe. one (1) host. no cap.
β¨ SYNOPSIS β¨
void batadv_tvlv_unicast_send (struct batadv_priv *bat_priv , const u8
*src , const u8 *dst , u8 type , u8 version , void *tvlv_value , u16
tvlv_value_len );
it returns void btw β no return value, it's giving "i do the thing and i don't report back" energy π«Ά. also yes, that's a lot of arguments, she's high-maintenance but she's iconic.
π ARGUMENTS π
bat_privβ the bat priv holding all the mesh interface information. basically the main character of the structs π.srcβ source mac address of the unicast packet. where it's coming from fr fr.dstβ destination mac address of the unicast packet. where it's going, iykyk π¦.typeβ the tvlv type.versionβ the tvlv version.tvlv_valueβ the tvlv content. the actual payload, the substance, the moment π.tvlv_value_lenβ the tvlv content length. how much content we're talking about here.
ngl bestie, this is a lot of parameters and every single one matters β don't be out here skipping any of them π.
π SEE ALSO π
kernel file ./net/batman-adv/tvlv.c, plus literally the entire tvlv friend group, all present and accounted for:
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_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)
like, the whole squad showed up. main character energy all around β
and that's the page, bestie! π§ this little gem lives in ./net/batman-adv and it's dated October 2026 β so mark your calendar, screenshot it, send it to the group chat, periodt π
π
π¦ 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