ENUM BATADV_MCAST_FLAGS_PRIV(9)
π 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.henum 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms