batadv_send_skb_via_tt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the Kernel API Manual entry for batadv_send_skb_via_tt(9) β€” literally the page about sending an skb via TT lookup. 🫢


✨ SYNOPSIS ✨

the function signature is giving:

int batadv_send_skb_via_tt (struct batadv_priv *bat_priv , struct
       sk_buff *skb , u8 *dst_hint , unsigned short vid );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. bestie, it's the whole mesh vibe container. 🌈
  • skb β€” the payload to send. that's the little packet bestie. πŸ“¦
  • dst_hint β€” can be used to override the destination contained in the skb. lowkey a little override button. πŸ‘€
  • vid β€” the vid to be used to search the translation table. the lookup key, basically. πŸ”‘

🌸 DESCRIPTION 🌸

okay so here's the lore: look up the recipient node for the destination address in the ethernet header via the translation table. then wrap the given skb into a batman-adv unicast header. then send this frame to the according destination node. that's it, that's the whole slay. ✨


πŸ”₯ RETURN πŸ”₯

NET_XMIT_DROP in case of error or NET_XMIT_SUCCESS otherwise. periodt. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹


source/version is ./net/batman-adv, dated October 2026 β€” mwah, bestie πŸ’‹

πŸ“¦ where this page comes from