Searched refs:getaddrs (Results 1 – 1 of 1) sorted by relevance
6157 struct sctp_getaddrs getaddrs; in sctp_getsockopt_peer_addrs() local6169 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_peer_addrs()6173 asoc = sctp_id2assoc(sk, getaddrs.assoc_id); in sctp_getsockopt_peer_addrs()6254 struct sctp_getaddrs getaddrs; in sctp_getsockopt_local_addrs() local6269 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_local_addrs()6278 if (0 == getaddrs.assoc_id) { in sctp_getsockopt_local_addrs()6281 asoc = sctp_id2assoc(sk, getaddrs.assoc_id); in sctp_getsockopt_local_addrs()