Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv6/
Dipv6_sockglue.c141 static int copy_group_source_from_sockptr(struct group_source_req *greqs, in copy_group_source_from_sockptr() argument
151 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
171 ret = copy_group_source_from_sockptr(&greqs, optval, optlen); in do_ipv6_mcast_group_source()
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()
[all …]
/linux-6.6.21/net/ipv4/
Dip_sockglue.c700 static int copy_group_source_from_sockptr(struct group_source_req *greqs, in copy_group_source_from_sockptr() argument
710 greqs->gsr_interface = gr32.gsr_interface; in copy_group_source_from_sockptr()
711 greqs->gsr_group = gr32.gsr_group; in copy_group_source_from_sockptr()
712 greqs->gsr_source = gr32.gsr_source; in copy_group_source_from_sockptr()
714 if (optlen != sizeof(*greqs)) in copy_group_source_from_sockptr()
716 if (copy_from_sockptr(greqs, optval, sizeof(*greqs))) in copy_group_source_from_sockptr()
726 struct group_source_req greqs; in do_mcast_group_source() local
731 err = copy_group_source_from_sockptr(&greqs, optval, optlen); in do_mcast_group_source()
735 if (greqs.gsr_group.ss_family != AF_INET || in do_mcast_group_source()
736 greqs.gsr_source.ss_family != AF_INET) in do_mcast_group_source()
[all …]