Searched refs:sctp_getaddrs (Results 1 – 2 of 2) sorted by relevance
6134 struct sctp_getaddrs getaddrs; in sctp_getsockopt_peer_addrs()6143 if (len < sizeof(struct sctp_getaddrs)) in sctp_getsockopt_peer_addrs()6146 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_peer_addrs()6154 to = optval + offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs()6155 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs()6171 if (put_user(cnt, &((struct sctp_getaddrs __user *)optval)->addr_num)) in sctp_getsockopt_peer_addrs()6231 struct sctp_getaddrs getaddrs; in sctp_getsockopt_local_addrs()6243 if (len < sizeof(struct sctp_getaddrs)) in sctp_getsockopt_local_addrs()6246 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_local_addrs()6264 to = optval + offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_local_addrs()[all …]
1029 struct sctp_getaddrs { struct
Completed in 23 milliseconds