Searched refs:mdst (Results 1 – 5 of 5) sorted by relevance
/net/bridge/ |
D | br_input.c | 82 struct net_bridge_mdb_entry *mdst; in br_handle_frame_finish() local 183 mdst = br_mdb_get(brmctx, skb, vid); in br_handle_frame_finish() 184 if ((mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) && in br_handle_frame_finish() 185 br_multicast_querier_exists(brmctx, eth_hdr(skb), mdst)) { in br_handle_frame_finish() 186 if ((mdst && mdst->host_joined) || in br_handle_frame_finish() 217 br_multicast_flood(mdst, skb, brmctx, local_rcv, false); in br_handle_frame_finish()
|
D | br_forward.c | 287 void br_multicast_flood(struct net_bridge_mdb_entry *mdst, in br_multicast_flood() argument 299 if (mdst) { in br_multicast_flood() 300 p = rcu_dereference(mdst->ports); in br_multicast_flood() 301 if (br_multicast_should_handle_mode(brmctx, mdst->addr.proto) && in br_multicast_flood() 302 br_multicast_is_star_g(&mdst->addr)) in br_multicast_flood()
|
D | br_device.c | 35 struct net_bridge_mdb_entry *mdst; in br_dev_xmit() local 101 mdst = br_mdb_get(brmctx, skb, vid); in br_dev_xmit() 102 if ((mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) && in br_dev_xmit() 103 br_multicast_querier_exists(brmctx, eth_hdr(skb), mdst)) in br_dev_xmit() 104 br_multicast_flood(mdst, skb, brmctx, false, true); in br_dev_xmit()
|
D | br_multicast.c | 2786 struct net_bridge_mdb_entry *mdst; in br_ip4_multicast_igmp3_report() local 2851 mdst = br_mdb_ip4_get(brmctx->br, group, vid); in br_ip4_multicast_igmp3_report() 2852 if (!mdst) in br_ip4_multicast_igmp3_report() 2854 pg = br_multicast_find_port(mdst, pmctx->port, src); in br_ip4_multicast_igmp3_report() 2893 br_mdb_notify(brmctx->br->dev, mdst, pg, RTM_NEWMDB); in br_ip4_multicast_igmp3_report() 2908 struct net_bridge_mdb_entry *mdst; in br_ip6_multicast_mld2_report() local 2989 mdst = br_mdb_ip6_get(brmctx->br, &grec->grec_mca, vid); in br_ip6_multicast_mld2_report() 2990 if (!mdst) in br_ip6_multicast_mld2_report() 2992 pg = br_multicast_find_port(mdst, pmctx->port, src); in br_ip6_multicast_mld2_report() 3035 br_mdb_notify(brmctx->br->dev, mdst, pg, RTM_NEWMDB); in br_ip6_multicast_mld2_report()
|
D | br_private.h | 968 void br_multicast_flood(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb, 1393 static inline void br_multicast_flood(struct net_bridge_mdb_entry *mdst, in br_multicast_flood() argument
|