Lines Matching refs:sctp_authchunks
5622 struct sctp_authchunks __user *p = (void __user *)optval; in sctp_getsockopt_peer_auth_chunks()
5623 struct sctp_authchunks val; in sctp_getsockopt_peer_auth_chunks()
5632 if (len < sizeof(struct sctp_authchunks)) in sctp_getsockopt_peer_auth_chunks()
5635 if (copy_from_user(&val, optval, sizeof(struct sctp_authchunks))) in sctp_getsockopt_peer_auth_chunks()
5655 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_peer_auth_chunks()
5667 struct sctp_authchunks __user *p = (void __user *)optval; in sctp_getsockopt_local_auth_chunks()
5668 struct sctp_authchunks val; in sctp_getsockopt_local_auth_chunks()
5677 if (len < sizeof(struct sctp_authchunks)) in sctp_getsockopt_local_auth_chunks()
5680 if (copy_from_user(&val, optval, sizeof(struct sctp_authchunks))) in sctp_getsockopt_local_auth_chunks()
5697 if (len < sizeof(struct sctp_authchunks) + num_chunks) in sctp_getsockopt_local_auth_chunks()
5703 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_local_auth_chunks()