Lines Matching refs:star_mp
390 static void br_multicast_sg_host_state(struct net_bridge_mdb_entry *star_mp, in br_multicast_sg_host_state() argument
395 if (WARN_ON(!br_multicast_is_star_g(&star_mp->addr))) in br_multicast_sg_host_state()
397 if (!star_mp->host_joined) in br_multicast_sg_host_state()
400 sg_mp = br_mdb_ip_get(star_mp->br, &sg->key.addr); in br_multicast_sg_host_state()
407 static void br_multicast_star_g_host_state(struct net_bridge_mdb_entry *star_mp) in br_multicast_star_g_host_state() argument
409 struct net_bridge *br = star_mp->br; in br_multicast_star_g_host_state()
414 if (WARN_ON(!br_multicast_is_star_g(&star_mp->addr))) in br_multicast_star_g_host_state()
418 sg_ip = star_mp->addr; in br_multicast_star_g_host_state()
419 for (pg = mlock_dereference(star_mp->ports, br); in br_multicast_star_g_host_state()
431 sg_mp->host_joined = star_mp->host_joined; in br_multicast_star_g_host_state()
470 void br_multicast_sg_add_exclude_ports(struct net_bridge_mdb_entry *star_mp, in br_multicast_sg_add_exclude_ports() argument
474 struct net_bridge *br = star_mp->br; in br_multicast_sg_add_exclude_ports()
481 if (WARN_ON(!br_multicast_is_star_g(&star_mp->addr))) in br_multicast_sg_add_exclude_ports()
484 br_multicast_sg_host_state(star_mp, sg); in br_multicast_sg_add_exclude_ports()
488 for (pg = mlock_dereference(star_mp->ports, br); in br_multicast_sg_add_exclude_ports()
518 struct net_bridge_mdb_entry *star_mp; in br_multicast_fwd_src_add() local
550 star_mp = br_mdb_ip_get(src->br, &src->pg->key.addr); in br_multicast_fwd_src_add()
551 if (!star_mp) in br_multicast_fwd_src_add()
554 br_multicast_sg_add_exclude_ports(star_mp, sg); in br_multicast_fwd_src_add()