br_multicast...ter_adjacent(9)
π¦ br_multicast_has_router_adjacent β the kernel API manual, bestie edition π¦
okay so this is a page from the Kernel API Manual and honestly? it's a lil cutie. let's get into it π
β¨ NAME β¨
br_multicast_has_router_adjacent β literally checks if there's a router chillin' behind a bridge port π«Ά
πΈ SYNOPSIS πΈ
bool br_multicast_has_router_adjacent (struct net_device *dev , int proto );
that's it. that's the whole vibe. returns a bool and everything π
π ARGUMENTS π
devβ the bridge port that you're checking adjacent to for a multicast router. like, this is your main character interface β¨protoβ the protocol family you wanna check for, and the mapping is lowkey iconic:IGMP->ETH_P_IP, andMLD->ETH_P_IPV6π
π₯ DESCRIPTION π₯
so what it does: it checks whether the interface you handed it has a bridge on top of it, and if it does, it returns true when a multicast router is sitting behind one of the other ports of that bridge.
and if not? false. no cap, that's the whole deal π
π§ SEE ALSO π§
- the kernel file
./net/bridge/br_multicast.c(yes, that's where the magic lives π) br_multicast_list_adjacent(9)br_multicast_has_querier_anywhere(9)br_multicast_has_querier_adjacent(9)
go read those next, bestie, they're giving sequel energy π
and that's the whole page!! mwah π this one came from ./net/bridge, dated October 2026, and the title up top is br_multicast...ter_adjacent(9) β slay, go check for those routers πβ¨π
π¦ 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