Home
last modified time | relevance | path

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

/net/ipv6/
Dipv6_sockglue.c626 struct group_req greq; in do_ipv6_setsockopt() local
633 if (copy_from_user(&greq, optval, sizeof(struct group_req))) in do_ipv6_setsockopt()
635 if (greq.gr_group.ss_family != AF_INET6) { in do_ipv6_setsockopt()
639 psin6 = (struct sockaddr_in6 *)&greq.gr_group; in do_ipv6_setsockopt()
641 retv = ipv6_sock_mc_join(sk, greq.gr_interface, in do_ipv6_setsockopt()
644 retv = ipv6_sock_mc_drop(sk, greq.gr_interface, in do_ipv6_setsockopt()
/net/ipv4/
Dip_sockglue.c832 struct group_req greq; in do_ip_setsockopt() local
839 if (copy_from_user(&greq, optval, sizeof(greq))) in do_ip_setsockopt()
841 psin = (struct sockaddr_in *)&greq.gr_group; in do_ip_setsockopt()
846 mreq.imr_ifindex = greq.gr_interface; in do_ip_setsockopt()