Home
last modified time | relevance | path

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

/linux/net/ipv6/
A Dipv6_sockglue.c151 greqs->gsr_interface = gr32.gsr_interface; in copy_group_source_from_sockptr()
152 greqs->gsr_group = gr32.gsr_group; in copy_group_source_from_sockptr()
153 greqs->gsr_source = gr32.gsr_source; in copy_group_source_from_sockptr()
155 if (optlen < sizeof(*greqs)) in copy_group_source_from_sockptr()
157 if (copy_from_sockptr(greqs, optval, sizeof(*greqs))) in copy_group_source_from_sockptr()
167 struct group_source_req greqs; in do_ipv6_mcast_group_source() local
175 if (greqs.gsr_group.ss_family != AF_INET6 || in do_ipv6_mcast_group_source()
176 greqs.gsr_source.ss_family != AF_INET6) in do_ipv6_mcast_group_source()
189 psin6 = (struct sockaddr_in6 *)&greqs.gsr_group; in do_ipv6_mcast_group_source()
190 retv = ipv6_sock_mc_join_ssm(sk, greqs.gsr_interface, in do_ipv6_mcast_group_source()
[all …]
/linux/net/ipv4/
A Dip_sockglue.c707 greqs->gsr_interface = gr32.gsr_interface; in copy_group_source_from_sockptr()
708 greqs->gsr_group = gr32.gsr_group; in copy_group_source_from_sockptr()
709 greqs->gsr_source = gr32.gsr_source; in copy_group_source_from_sockptr()
711 if (optlen != sizeof(*greqs)) in copy_group_source_from_sockptr()
713 if (copy_from_sockptr(greqs, optval, sizeof(*greqs))) in copy_group_source_from_sockptr()
723 struct group_source_req greqs; in do_mcast_group_source() local
732 if (greqs.gsr_group.ss_family != AF_INET || in do_mcast_group_source()
733 greqs.gsr_source.ss_family != AF_INET) in do_mcast_group_source()
736 psin = (struct sockaddr_in *)&greqs.gsr_group; in do_mcast_group_source()
754 mreq.imr_ifindex = greqs.gsr_interface; in do_mcast_group_source()
[all …]

Completed in 7 milliseconds