ENUM BATADV_MCAST_FLAGS_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum batadv_mcast_flags_priv(9) β€” from the Kernel API Manual, bestie

okay so this is a page straight out of the Kernel API Manual about enum batadv_mcast_flags_priv, and no cap it's a whole vibe. it's the private, own multicast flags β€” like, the flags this originator keeps for itself, not the ones it's out here announcing to everybody. iykyk πŸŽ€


✨ NAME ✨

enum batadv_mcast_flags_priv β€” Private, own multicast flags 🫢


🌸 SYNOPSIS 🌸

enum batadv_mcast_flags_priv {
    BATADV_MCAST_FLAGS_BRIDGED ,
    BATADV_MCAST_FLAGS_QUERIER_IPV4_EXISTS ,
    BATADV_MCAST_FLAGS_QUERIER_IPV6_EXISTS ,
    BATADV_MCAST_FLAGS_QUERIER_IPV4_SHADOWING ,
    BATADV_MCAST_FLAGS_QUERIER_IPV6_SHADOWING

};

like, five constants, that's the whole cast πŸ’–


🌈 Constants 🌈

πŸ¦‹ the main characters

  • BATADV_MCAST_FLAGS_BRIDGED β€” there's literally a bridge sitting on top of the mesh interface. that's it, that's the flag. iconic. πŸ‘‘
  • BATADV_MCAST_FLAGS_QUERIER_IPV4_EXISTS β€” tells you whether an IGMP querier exists in the mesh. does it exist? this flag knows. ⭐
  • BATADV_MCAST_FLAGS_QUERIER_IPV6_EXISTS β€” same energy, but for the v6 girlies: whether an MLD querier exists in the mesh. 🧚
  • BATADV_MCAST_FLAGS_QUERIER_IPV4_SHADOWING β€” so if an IGMP querier exists, this says whether it is potentially shadowing multicast listeners (i.e. querier is behind our own bridge segment). sneaky little thing πŸ™ˆ
  • BATADV_MCAST_FLAGS_QUERIER_IPV6_SHADOWING β€” and the MLD twin: if an MLD querier exists, whether it is potentially shadowing multicast listeners (i.e. querier is behind our own bridge segment). same sneaky energy, v6 edition πŸ’€

πŸ’œ Description πŸ’œ

these are the internal, multicast related flags. lowkey the whole point: currently they describe certain multicast related attributes of the segment this originator bridges into the mesh. 🫢

those attributes are then used to determine the public multicast flags this originator is going to announce via TT. so like, private flags in, public announcement out β€” the glow-up pipeline ✨

🚨 netlink bestie listen up: for netlink, if BATADV_MCAST_FLAGS_BRIDGED is unset then all querier related flags are undefined. undefined fr fr, don't go reading them, that's not a vibe. 😭

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/uapi/linux/batman_adv.h enum
  • batadv_tt_client_flags(9)
  • enum batadv_gw_modes(9)
  • enum batadv_nl_attrs(9)
  • enum batadv_nl_commands(9)
  • enum batadv_tp_meter_reason(9)
  • enum batadv_ifla_attrs(9)

all the linked besties, go say hi πŸ’–


and that's the page! sign-off time: this one lives at ./include/uapi/linux, dated October 2026, and it came to you courtesy of the Kernel API Manual for enum batadv_...t_flags_priv(9). slay, drink some water, and go read your flags πŸ’…πŸŒˆπŸ’œ

πŸ“¦ where this page comes from