batadv_mcas...all_ip_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_mcast_forw_want_all_ip_count β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the batadv_mcast_forw_want_all_ip_count page, straight out of the Kernel API Manual ✨ this one's a tiny little function with a big personality, and she's about counting up all the nodes that are like "yes give me ALL the multicast, idc what it is" πŸŽ€


🌸 NAME 🌸

batadv_mcast_forw_want_all_ip_count β€” count nodes with unspecific mcast interest πŸ’…

like, "unspecific" meaning they just want everything, no filter, no pickiness, periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_mcast_forw_want_all_ip_count (struct batadv_priv *bat_priv ,
       struct ethhdr *ethhdr );

that's literally it, she's small but she's doing her job 🫢


✨ ARGUMENTS ✨

  • bat_priv β€” the bat priv with all the mesh interface information 🧚 this is the main character struct holding everything you need to know about the mesh interface
  • ethhdr β€” ethernet header of a packet πŸ“¦ the packet's little ID card, basically

⭐ RETURN ⭐

here's the tea β˜• this function gives you back a number, and which number depends on what kind of packet that ethhdr is repping:

  • if the given ethhdr is from an IPv4 packet β†’ the number of nodes which want all IPv4 multicast traffic πŸ”₯
  • if it matches an IPv6 packet β†’ the number of nodes which want all IPv6 traffic 🌈

either way you're getting a count of the want-it-all besties, just for the right protocol πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

there's a whole friend group here ngl, the entire batadv_mcast_* extended universe fr fr πŸ’€ every single one of these is linked below, no cap, nothing skipped:

anyway bestie that's the whole page πŸ’– this one lives in ./net/batman-adv and the version vibes are dated October 2026 β€” iconic, timeless, slay 🌟 go read the source, ily, bye πŸ‘‹πŸ’…

πŸ“¦ where this page comes from