Home
last modified time | relevance | path

Searched refs:mdst (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/bridge/
Dbr_input.c80 struct net_bridge_mdb_entry *mdst; in br_handle_frame_finish() local
161 mdst = br_mdb_get(brmctx, skb, vid); in br_handle_frame_finish()
162 if ((mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) && in br_handle_frame_finish()
163 br_multicast_querier_exists(brmctx, eth_hdr(skb), mdst)) { in br_handle_frame_finish()
164 if ((mdst && mdst->host_joined) || in br_handle_frame_finish()
195 br_multicast_flood(mdst, skb, brmctx, local_rcv, false); in br_handle_frame_finish()
Dbr_forward.c277 void br_multicast_flood(struct net_bridge_mdb_entry *mdst, in br_multicast_flood() argument
289 if (mdst) { in br_multicast_flood()
290 p = rcu_dereference(mdst->ports); in br_multicast_flood()
291 if (br_multicast_should_handle_mode(brmctx, mdst->addr.proto) && in br_multicast_flood()
292 br_multicast_is_star_g(&mdst->addr)) in br_multicast_flood()
Dbr_device.c34 struct net_bridge_mdb_entry *mdst; in br_dev_xmit() local
94 mdst = br_mdb_get(brmctx, skb, vid); in br_dev_xmit()
95 if ((mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) && in br_dev_xmit()
96 br_multicast_querier_exists(brmctx, eth_hdr(skb), mdst)) in br_dev_xmit()
97 br_multicast_flood(mdst, skb, brmctx, false, true); in br_dev_xmit()
Dbr_multicast.c2611 struct net_bridge_mdb_entry *mdst; in br_ip4_multicast_igmp3_report() local
2676 mdst = br_mdb_ip4_get(brmctx->br, group, vid); in br_ip4_multicast_igmp3_report()
2677 if (!mdst) in br_ip4_multicast_igmp3_report()
2679 pg = br_multicast_find_port(mdst, pmctx->port, src); in br_ip4_multicast_igmp3_report()
2718 br_mdb_notify(brmctx->br->dev, mdst, pg, RTM_NEWMDB); in br_ip4_multicast_igmp3_report()
2733 struct net_bridge_mdb_entry *mdst; in br_ip6_multicast_mld2_report() local
2814 mdst = br_mdb_ip6_get(brmctx->br, &grec->grec_mca, vid); in br_ip6_multicast_mld2_report()
2815 if (!mdst) in br_ip6_multicast_mld2_report()
2817 pg = br_multicast_find_port(mdst, pmctx->port, src); in br_ip6_multicast_mld2_report()
2860 br_mdb_notify(brmctx->br->dev, mdst, pg, RTM_NEWMDB); in br_ip6_multicast_mld2_report()
Dbr_private.h914 void br_multicast_flood(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb,
1326 static inline void br_multicast_flood(struct net_bridge_mdb_entry *mdst, in br_multicast_flood() argument