Home
last modified time | relevance | path

Searched refs:greqs (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/net/ipv6/
Dipv6_sockglue.c416 struct group_source_req greqs; in ipv6_setsockopt() local
421 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()
/linux-2.4.37.9/net/ipv4/
Dip_sockglue.c712 struct group_source_req greqs; in ip_setsockopt() local
719 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()