Searched refs:sctp_getaddrs (Results 1 – 2 of 2) sorted by relevance
6128 struct sctp_getaddrs getaddrs; in sctp_getsockopt_peer_addrs()6137 if (len < sizeof(struct sctp_getaddrs)) in sctp_getsockopt_peer_addrs()6140 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_peer_addrs()6148 to = optval + offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs()6149 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs()6165 if (put_user(cnt, &((struct sctp_getaddrs __user *)optval)->addr_num)) in sctp_getsockopt_peer_addrs()6225 struct sctp_getaddrs getaddrs; in sctp_getsockopt_local_addrs()6237 if (len < sizeof(struct sctp_getaddrs)) in sctp_getsockopt_local_addrs()6240 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_local_addrs()6258 to = optval + offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_local_addrs()[all …]
1029 struct sctp_getaddrs { struct