batadv_tvlv_unicast_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ 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:

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