Lines Matching refs:src_pg
273 struct net_bridge_port_group *src_pg; in __fwd_add_star_excl() local
283 src_pg = __br_multicast_add_group(brmctx, pmctx, in __fwd_add_star_excl()
286 if (IS_ERR_OR_NULL(src_pg) || in __fwd_add_star_excl()
287 src_pg->rt_protocol != RTPROT_KERNEL) in __fwd_add_star_excl()
290 src_pg->flags |= MDB_PG_FLAGS_STAR_EXCL; in __fwd_add_star_excl()
298 struct net_bridge_port_group *src_pg; in __fwd_del_star_excl() local
303 src_pg = br_sg_port_find(br, &sg_key); in __fwd_del_star_excl()
304 if (!src_pg || !(src_pg->flags & MDB_PG_FLAGS_STAR_EXCL) || in __fwd_del_star_excl()
305 src_pg->rt_protocol != RTPROT_KERNEL) in __fwd_del_star_excl()
308 br_multicast_find_del_pg(br, src_pg); in __fwd_del_star_excl()
466 struct net_bridge_port_group *src_pg; in br_multicast_sg_add_exclude_ports() local
480 src_pg = __br_multicast_add_group(brmctx, pmctx, in br_multicast_sg_add_exclude_ports()
484 if (IS_ERR_OR_NULL(src_pg) || in br_multicast_sg_add_exclude_ports()
485 src_pg->rt_protocol != RTPROT_KERNEL) in br_multicast_sg_add_exclude_ports()
487 src_pg->flags |= MDB_PG_FLAGS_STAR_EXCL; in br_multicast_sg_add_exclude_ports()