Lines Matching refs:sg_key
297 struct net_bridge_port_group_sg_key sg_key; in __fwd_add_star_excl() local
301 memset(&sg_key, 0, sizeof(sg_key)); in __fwd_add_star_excl()
303 sg_key.port = pg->key.port; in __fwd_add_star_excl()
304 sg_key.addr = *sg_ip; in __fwd_add_star_excl()
305 if (br_sg_port_find(brmctx->br, &sg_key)) in __fwd_add_star_excl()
321 struct net_bridge_port_group_sg_key sg_key; in __fwd_del_star_excl() local
325 memset(&sg_key, 0, sizeof(sg_key)); in __fwd_del_star_excl()
326 sg_key.port = pg->key.port; in __fwd_del_star_excl()
327 sg_key.addr = *sg_ip; in __fwd_del_star_excl()
328 src_pg = br_sg_port_find(br, &sg_key); in __fwd_del_star_excl()
473 struct net_bridge_port_group_sg_key sg_key; in br_multicast_sg_add_exclude_ports() local
485 memset(&sg_key, 0, sizeof(sg_key)); in br_multicast_sg_add_exclude_ports()
486 sg_key.addr = sg->key.addr; in br_multicast_sg_add_exclude_ports()
496 sg_key.port = pg->key.port; in br_multicast_sg_add_exclude_ports()
497 if (br_sg_port_find(br, &sg_key)) in br_multicast_sg_add_exclude_ports()
595 struct net_bridge_port_group_sg_key sg_key; in br_multicast_fwd_src_handle() local
601 memset(&sg_key, 0, sizeof(sg_key)); in br_multicast_fwd_src_handle()
602 sg_key.addr = src->pg->key.addr; in br_multicast_fwd_src_handle()
603 sg_key.addr.src = src->addr.src; in br_multicast_fwd_src_handle()
604 sg_key.port = src->pg->key.port; in br_multicast_fwd_src_handle()
606 sg = br_sg_port_find(src->br, &sg_key); in br_multicast_fwd_src_handle()
619 sg_mp = br_mdb_ip_get(src->br, &sg_key.addr); in br_multicast_fwd_src_handle()