batadv_mcas...ant_all_rtr6(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_mcast_forw_want_all_rtr6 πŸ’–

okay bestie, welcome to batadv_mcas...ant_all_rtr6(9) β€” that's the Kernel API Manual page for this one very specific mcast forwarding function, and yes the title is truncated like that, it's not a typo, it's just how the manpage generator woke up that morning πŸ’…


✨ NAME ✨

batadv_mcast_forw_want_all_rtr6 β€” forward to nodes with want-all-rtr6


πŸ¦‹ SYNOPSIS πŸ¦‹

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

that's the whole signature, no cap. three args, one int return, iconic behavior πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. it's literally the main character of the whole file, it knows everything about your mesh interfaces 🫢
  • skb β€” The multicast packet to transmit. this is the actual frame going out the door, so please treat it nicely πŸ“
  • vid β€” the vlan identifier. yep, just the vlan id, keeping it cute and short 🌸

🌈 DESCRIPTION 🌈

so what does it actually do. it sends copies of a frame with multicast destination to any node with a BATADV_MCAST_WANT_NO_RTR6 flag unset. that's the lowkey important bit: the flag has to be unset for a node to get a copy β€” we're looking for the nodes that haven't said "no rtr6 pls" πŸ™ˆ

and for each one of those destination nodes, a transmission is performed via a batman-adv unicast packet. so it's one unicast packet per destination node, fr fr β€” multicast frame in, a whole bunch of unicast transmissions out, that's the vibe πŸ’«


πŸ”₯ RETURN πŸ”₯

  • NET_XMIT_DROP β€” happens on memory allocation failure 😭 (rip, no memory, no packet)
  • NET_XMIT_SUCCESS β€” otherwise πŸ’–

🧚 SEE ALSO 🧚

the kernel file itself lives at ./net/batman-adv/multicast.c, and here's the entire friend group, every single one, no skipping, we don't do that here ✨

like, the whole batadv_mcast_* family tree showed up to the group chat and honestly? obsessed πŸ’œ


and that's the page!! this little beauty lives in ./net/batman-adv, dated October 2026, and you found it under the name batadv_mcas...ant_all_rtr6(9) β€” mwah, go read the source bestie, ily, bye πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from