Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dipv6_sockglue.c140 static int copy_group_source_from_sockptr(struct group_source_req *greqs, in copy_group_source_from_sockptr() argument
150 greqs->gsr_interface = gr32.gsr_interface; in copy_group_source_from_sockptr()
151 greqs->gsr_group = gr32.gsr_group; in copy_group_source_from_sockptr()
152 greqs->gsr_source = gr32.gsr_source; in copy_group_source_from_sockptr()
154 if (optlen < sizeof(*greqs)) in copy_group_source_from_sockptr()
156 if (copy_from_sockptr(greqs, optval, sizeof(*greqs))) in copy_group_source_from_sockptr()
166 struct group_source_req greqs; in do_ipv6_mcast_group_source() local
170 ret = copy_group_source_from_sockptr(&greqs, optval, optlen); in do_ipv6_mcast_group_source()
174 if (greqs.gsr_group.ss_family != AF_INET6 || in do_ipv6_mcast_group_source()
175 greqs.gsr_source.ss_family != AF_INET6) in do_ipv6_mcast_group_source()
[all …]