Lines Matching refs:sctp_authchunks
5609 struct sctp_authchunks __user *p = (void __user *)optval; in sctp_getsockopt_peer_auth_chunks()
5610 struct sctp_authchunks val; in sctp_getsockopt_peer_auth_chunks()
5619 if (len < sizeof(struct sctp_authchunks)) in sctp_getsockopt_peer_auth_chunks()
5622 if (copy_from_user(&val, optval, sizeof(struct sctp_authchunks))) in sctp_getsockopt_peer_auth_chunks()
5642 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_peer_auth_chunks()
5654 struct sctp_authchunks __user *p = (void __user *)optval; in sctp_getsockopt_local_auth_chunks()
5655 struct sctp_authchunks val; in sctp_getsockopt_local_auth_chunks()
5664 if (len < sizeof(struct sctp_authchunks)) in sctp_getsockopt_local_auth_chunks()
5667 if (copy_from_user(&val, optval, sizeof(struct sctp_authchunks))) in sctp_getsockopt_local_auth_chunks()
5684 if (len < sizeof(struct sctp_authchunks) + num_chunks) in sctp_getsockopt_local_auth_chunks()
5690 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_local_auth_chunks()