Lines Matching refs:group

270 struct inet6_dev *ip6_mc_find_dev(struct in6_addr *group, int ifindex)  in ip6_mc_find_dev()  argument
278 rt = rt6_lookup(group, NULL, 0, 0); in ip6_mc_find_dev()
338 struct in6_addr *source, *group; in ip6_mc_source() local
352 group = &((struct sockaddr_in6 *)&pgsr->gsr_group)->sin6_addr; in ip6_mc_source()
354 if (!(ipv6_addr_type(group) & IPV6_ADDR_MULTICAST)) in ip6_mc_source()
357 idev = ip6_mc_find_dev(group, pgsr->gsr_interface); in ip6_mc_source()
367 if (ipv6_addr_cmp(&pmc->addr, group) == 0) in ip6_mc_source()
378 ip6_mc_add_src(idev, group, omode, 0, 0, 0); in ip6_mc_source()
379 ip6_mc_del_src(idev, group, pmc->sfmode, 0, 0, 0); in ip6_mc_source()
398 ip6_mc_del_src(idev, group, omode, 1, source, 1); in ip6_mc_source()
447 ip6_mc_add_src(idev, group, omode, 1, source, 1); in ip6_mc_source()
457 struct in6_addr *group; in ip6_mc_msfilter() local
465 group = &((struct sockaddr_in6 *)&gsf->gf_group)->sin6_addr; in ip6_mc_msfilter()
467 if (!(ipv6_addr_type(group) & IPV6_ADDR_MULTICAST)) in ip6_mc_msfilter()
473 idev = ip6_mc_find_dev(group, gsf->gf_interface); in ip6_mc_msfilter()
483 if (ipv6_addr_cmp(&pmc->addr, group) == 0) in ip6_mc_msfilter()
502 err = ip6_mc_add_src(idev, group, gsf->gf_fmode, in ip6_mc_msfilter()
510 (void) ip6_mc_add_src(idev, group, gsf->gf_fmode, 0, NULL, 0); in ip6_mc_msfilter()
515 (void) ip6_mc_del_src(idev, group, pmc->sfmode, in ip6_mc_msfilter()
519 (void) ip6_mc_del_src(idev, group, pmc->sfmode, 0, 0, 0); in ip6_mc_msfilter()
533 struct in6_addr *group; in ip6_mc_msfget() local
540 group = &((struct sockaddr_in6 *)&gsf->gf_group)->sin6_addr; in ip6_mc_msfget()
542 if (!(ipv6_addr_type(group) & IPV6_ADDR_MULTICAST)) in ip6_mc_msfget()
545 idev = ip6_mc_find_dev(group, gsf->gf_interface); in ip6_mc_msfget()
557 if (ipv6_addr_cmp(group, &pmc->addr) == 0) in ip6_mc_msfget()
913 int ipv6_chk_mcast_addr(struct net_device *dev, struct in6_addr *group, in ipv6_chk_mcast_addr() argument
924 if (ipv6_addr_cmp(&mc->mca_addr, group) == 0) in ipv6_chk_mcast_addr()
1025 struct in6_addr *group; in igmp6_event_query() local
1048 group = (struct in6_addr *) (hdr + 1); in igmp6_event_query()
1049 group_type = ipv6_addr_type(group); in igmp6_event_query()
1106 ipv6_addr_cmp(group, &ma->mca_addr) != 0) in igmp6_event_query()