br_multicas...ier_adjacent(9)
β¨ br_multicast_has_querier_adjacent(9) β¨
okay bestie, welcome to the Kernel API Manual, section 9 β the bit where we talk about kernel internals π
this one lives in the bridge/multicast girlie universe and honestly? it's giving detective energy π
π NAME π
br_multicast_has_querier_adjacent β checks for a querier behind a bridge port π«Ά
π¦ SYNOPSIS π¦
bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
like, that's the whole vibe. bool in, vibes out β¨
πΈ ARGUMENTS πΈ
devβ the bridge port adjacent to which we're checking for a querier π literally the port we're snooping next toprotoβ the protocol family to check for, and there are exactly two moods here:IGMP->ETH_P_IP, andMLD->ETH_P_IPV6π§
π DESCRIPTION π
So here's the tea β: it checks whether the given interface has a bridge on top β and if it does, it returns true if a selected querier is behind one of the other ports of this bridge. Otherwise? It returns false. No cap, that's it. π
the way that it's basically asking "is there a querier lurking behind one of my sibling ports" and answering with a single bool π iconic behavior honestly π
π₯ SEE ALSO π₯
- Kernel file
./net/bridge/br_multicast.cπ (the source of truth, go read her) br_multicast_list_adjacent(9)br_multicast_has_querier_anywhere(9)br_multicast_has_router_adjacent(9)
all the adjacent besties, fr fr π«Άβ¨
ngl this page is short but she ate π everything you need, nothing you don't. no cap.
and that's a wrap, my love π this one's from ./net/bridge, dated October 2026, in the Kernel API Manual section 9 β br_multicas...ier_adjacent(9), mwah πππ¦
π¦ 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