Searched refs:greqs (Results 1 – 2 of 2) sorted by relevance
416 struct group_source_req greqs; in ipv6_setsockopt() local421 if (copy_from_user(&greqs, optval, sizeof(greqs))) { in ipv6_setsockopt()425 if (greqs.gsr_group.ss_family != AF_INET6 || in ipv6_setsockopt()426 greqs.gsr_source.ss_family != AF_INET6) { in ipv6_setsockopt()439 psin6 = (struct sockaddr_in6 *)&greqs.gsr_group; in ipv6_setsockopt()440 retv = ipv6_sock_mc_join(sk, greqs.gsr_interface, in ipv6_setsockopt()450 retv = ip6_mc_source(add, omode, sk, &greqs); in ipv6_setsockopt()
712 struct group_source_req greqs; in ip_setsockopt() local719 if (copy_from_user(&greqs, optval, sizeof(greqs))) { in ip_setsockopt()723 if (greqs.gsr_group.ss_family != AF_INET || in ip_setsockopt()724 greqs.gsr_source.ss_family != AF_INET) { in ip_setsockopt()728 psin = (struct sockaddr_in *)&greqs.gsr_group; in ip_setsockopt()730 psin = (struct sockaddr_in *)&greqs.gsr_source; in ip_setsockopt()743 psin = (struct sockaddr_in *)&greqs.gsr_group; in ip_setsockopt()746 mreq.imr_ifindex = greqs.gsr_interface; in ip_setsockopt()750 greqs.gsr_interface = mreq.imr_ifindex; in ip_setsockopt()758 greqs.gsr_interface); in ip_setsockopt()