Searched refs:getaddrs (Results 1 – 1 of 1) sorted by relevance
6126 struct sctp_getaddrs getaddrs; in sctp_getsockopt_peer_addrs() local6138 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_peer_addrs()6142 asoc = sctp_id2assoc(sk, getaddrs.assoc_id); in sctp_getsockopt_peer_addrs()6223 struct sctp_getaddrs getaddrs; in sctp_getsockopt_local_addrs() local6238 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_local_addrs()6247 if (0 == getaddrs.assoc_id) { in sctp_getsockopt_local_addrs()6250 asoc = sctp_id2assoc(sk, getaddrs.assoc_id); in sctp_getsockopt_local_addrs()