batadv_mcas...ant_all_ipv4(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, straight out of the Kernel API Manual: batadv_mcast_forw_want_all_ipv4 β€” forward to nodes with want-all-ipv4. That's the whole vibe. no cap, it's giving "multicast forwarding but make it specific." πŸ’…

πŸ“‘ SYNOPSIS πŸ“‘

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

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. it's the main-character struct holding all the mesh interface info.
  • skb β€” the multicast packet to transmit. this is the packet you're sending out, bestie.
  • vid β€” the vlan identifier. yep, the VLAN ID.

πŸ“¨ DESCRIPTION πŸ“¨

Sends copies of a frame with multicast destination to any node with a BATADV_MCAST_WANT_ALL_IPV4 flag set. A transmission is performed via a batman-adv unicast packet for each such destination node.

so basically: if a node has the BATADV_MCAST_WANT_ALL_IPV4 flag set, it gets a copy of that multicast-destination frame β€” and for every destination node like that, it goes out via a batman-adv unicast packet. slay. ✨

πŸ“€ RETURN πŸ“€

NET_XMIT_DROP on memory allocation failure, NET_XMIT_SUCCESS otherwise.

so if memory allocation fails, it's a NET_XMIT_DROP; otherwise you get NET_XMIT_SUCCESS. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

the kernel file is ./net/batman-adv/multicast.c, and here's the entire see-also group chat β€” every single one, fr fr: 🫢


xoxo, source/version: ./net/batman-adv; date: October 2026 β€” that's the footer tea, bestie. πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from