batadv_mcast_forw_tt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_mcast_forw_tt(9) β€” the kernel API manual page, bestie edition πŸ’–

okay so real talk, this is batadv_mcast_forw_tt from the batadv kernel API manual, and it's literally the function that gets your multicast packet to the people who actually asked for it πŸŽ€ no cap.


✨ SYNOPSIS ✨

int batadv_mcast_forw_tt (struct batadv_priv *bat_priv , struct sk_buff
*skb , unsigned short vid );

like, three args in, one int out. slay. πŸ’…


🌸 ARGUMENTS 🌸

  • bat_priv β€” the bat priv, aka the whole vibe container: it's holding all the mesh interface information 🫢
  • skb β€” the multicast packet you're about to transmit, the actual main character of this whole operation ✨
  • vid β€” the vlan identifier. yes queen, we know which vlan πŸ¦‹

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does it do?? It sends copies of a frame with a multicast destination to any multicast listener registered in the translation table. and for each such destination node, a transmission is performed via a batman-adv unicast packet. it's giving "one packet in, a whole bunch of unicast packets out" energy πŸ”₯


πŸ’€ RETURN πŸ’€

  • NET_XMIT_DROP β€” when memory allocation fails 😭 (rough, honestly)
  • NET_XMIT_SUCCESS β€” otherwise πŸ’– (the one we want)

🌈 SEE ALSO 🌈

this is the part where the page just. keeps. going. and honestly? iconic. go read the kernel file ./net/batman-adv/multicast.c and also:

like genuinely every single one, I'm not skipping a single bestie on this list 🫢✨


and that's the whole page!! sign-off time: this glorious thing lives in ./net/batman-adv, it's dated October 2026, and it's brought to you by the Kernel API Manual πŸ’œ mwah, go forward those packets, ily 🧚🌟

πŸ“¦ where this page comes from