batadv_mcast_forw_rtr_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 batadv_mcast_forw_rtr_count(9) 🌸

okay so you're in the Kernel API Manual bestie, welcome, this one's a little cutie that literally just counts things πŸŽ€


✨ NAME ✨

batadv_mcast_forw_rtr_count β€” count nodes with a multicast router πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_mcast_forw_rtr_count (struct batadv_priv *bat_priv , int
protocol );

πŸ’– ARGUMENTS πŸ’–

  • bat_priv β€” the bat priv, aka the whole vibe container holding all the mesh interface information 🫢
  • protocol β€” the ethernet protocol type you're counting multicast routers for

⭐ RETURN ⭐

it gives you back the number of nodes that want all routable IPv4 multicast traffic if the protocol is ETH_P_IP, or the number of nodes that want all routable IPv6 traffic if the protocol is ETH_P_IPV6. and if it's literally anything else? you get 0. that's it. nothing. zero. πŸ’€


πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./net/batman-adv/multicast.c and honestly the whole friend group:


okay that's the whole page bestie, go count some routers πŸ’œ

this one's from ./net/batman-adv, dated October 2026 β€” periodt, that's the whole source, version and date situation 🌈
πŸ“¦ where this page comes from