br_multicast...ter_adjacent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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, and MLD -> 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 🧚

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