batadv_mcas...s_meshif_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

batadv_mcast_mla_rtr_flags_meshif_get β€” bestie, this one grabs the multicast router flags straight off the node πŸ’…

(also hiiii, this is the Kernel API Manual, welcome to the group chat ✨)


✨ SYNOPSIS ✨

u8 batadv_mcast_mla_rtr_flags_meshif_get (struct batadv_priv *bat_priv ,
struct net_device *bridge );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv that's holding all the mesh interface information. the whole vibe-check box, basically 🫢
  • bridge β€” the bridge interface sitting on top of the mesh_iface if there even is one. no bridge? pass NULL and keep it moving, no cap πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so literally what it does: it checks whether there are IPv4 and IPv6 multicast routers hanging out on this node. that's the whole thing. presence check. detected. ⭐


πŸ”₯ RETURN πŸ”₯

  • BATADV_NO_FLAGS β€” both an IPv4 and an IPv6 multicast router is present. double slay πŸ‘‘
  • BATADV_MCAST_WANT_NO_RTR4 β€” no IPv4 multicast router present 😭
  • BATADV_MCAST_WANT_NO_RTR6 β€” no IPv6 multicast router present 😭
  • the former two OR'd β€” literally no multicast router present at all. it's giving empty πŸ’€

πŸ’– SEE ALSO πŸ’–

kernel file ./net/batman-adv/multicast.c β€” go read it, iykyk πŸ“–


and that's the whole page, bestie 🧚✨ this one came from ./net/batman-adv and it's dated October 2026 β€” periodt, go forth and check those router flags πŸ’œπŸ¦‹πŸ“

πŸ“¦ where this page comes from