batadv_mcas...s_bridge_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_mcast_mla_rtr_flags_bridge_get(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one's a kernel function page, so grab your iced coffee and let's get into it 🫢


🌸 NAME 🌸

batadv_mcast_mla_rtr_flags_bridge_get β€” literally just getting the mcast router flags from the bridge πŸŽ€


✨ SYNOPSIS ✨

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

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bat_priv β€” the bat priv, aka the one holding all the mesh interface information πŸ‘‘
  • bridge β€” the bridge interface sitting on top of the mesh_iface if there even is one; if not, just pass NULL and vibe πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

It checks whether there's an IPv4 multicast router and an IPv6 multicast router hanging out behind a bridge. That's the whole assignment. Slay. ✨


🌈 RETURN 🌈

  • BATADV_NO_FLAGS β€” both an IPv4 and IPv6 multicast router is present πŸŽ‰ (iconic, honestly)
  • BATADV_MCAST_WANT_NO_RTR4 β€” no IPv4 multicast router is present πŸ’€
  • BATADV_MCAST_WANT_NO_RTR6 β€” no IPv6 multicast router is present 😭
  • the former two OR'd together β€” no multicast router is present at all, not a single one, periodt 🌸

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./net/batman-adv/multicast.c β€” and bestie, the list is long, but we don't skip, so here's every single one 🫢

batadv_mcast_start_timer(9), batadv_mcast_get_bridge(9), batadv_mcast_mla_rtr_flags_meshif_get_ipv4(9), batadv_mcast_mla_rtr_flags_meshif_get_ipv6(9), batadv_mcast_mla_rtr_flags_meshif_get(9), batadv_mcast_mla_rtr_flags_get(9), batadv_mcast_mla_forw_flags_get(9), batadv_mcast_mla_flags_get(9), batadv_mcast_mla_is_duplicate(9), batadv_mcast_mla_meshif_get_ipv4(9), batadv_mcast_mla_meshif_get_ipv6(9), batadv_mcast_mla_meshif_get(9), batadv_mcast_mla_br_addr_cpy(9), batadv_mcast_mla_bridge_get(9), batadv_mcast_mla_list_free(9), batadv_mcast_mla_tt_retract(9), batadv_mcast_mla_tt_add(9), batadv_mcast_querier_log(9), batadv_mcast_bridge_log(9), batadv_mcast_flags_log(9), batadv_mcast_mla_flags_update(9), __batadv_mcast_mla_update(9), batadv_mcast_mla_update(9), batadv_mcast_is_report_ipv4(9), batadv_mcast_forw_mode_check_ipv4(9), batadv_mcast_is_report_ipv6(9), batadv_mcast_forw_mode_check_ipv6(9), batadv_mcast_forw_mode_check(9), batadv_mcast_forw_want_all_ip_count(9), batadv_mcast_forw_rtr_count(9), batadv_mcast_forw_mode_by_count(9), batadv_mcast_forw_mode(9), batadv_mcast_forw_send_orig(9), batadv_mcast_forw_tt(9), batadv_mcast_forw_want_all_ipv4(9), batadv_mcast_forw_want_all_ipv6(9), batadv_mcast_forw_want_all(9), batadv_mcast_forw_want_all_rtr4(9), batadv_mcast_forw_want_all_rtr6(9), batadv_mcast_forw_want_rtr(9), batadv_mcast_forw_send(9), batadv_mcast_want_unsnoop_update(9), batadv_mcast_want_ipv4_update(9), batadv_mcast_want_ipv6_update(9), batadv_mcast_want_rtr4_update(9), batadv_mcast_want_rtr6_update(9), batadv_mcast_have_mc_ptype_update(9), batadv_mcast_tvlv_flags_get(9), batadv_mcast_tvlv_ogm_handler(9), batadv_mcast_init(9), batadv_mcast_mesh_info_put(9), batadv_mcast_flags_dump_entry(9), batadv_mcast_flags_dump_bucket(9), __batadv_mcast_flags_dump(9), batadv_mcast_netlink_get_primary(9), batadv_mcast_flags_dump(9), batadv_mcast_free(9), batadv_mcast_purge_orig(9)


ngl that's a whole friend group of functions, but they all ate πŸ’…

so yeah, that's the page πŸ¦‹ it comes from ./net/batman-adv and it's dated October 2026 β€” mwah, love that for us, see you in the next one bestie πŸ’œ

πŸ“¦ where this page comes from