Lines Matching refs:ch
6965 struct sctp_chunks_param *ch; in sctp_getsockopt_peer_auth_chunks() local
6983 ch = asoc->peer.peer_chunks; in sctp_getsockopt_peer_auth_chunks()
6984 if (!ch) in sctp_getsockopt_peer_auth_chunks()
6988 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
6992 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
7010 struct sctp_chunks_param *ch; in sctp_getsockopt_local_auth_chunks() local
7029 ch = (struct sctp_chunks_param *)asoc->c.auth_chunks; in sctp_getsockopt_local_auth_chunks()
7033 ch = ep->auth_chunk_list; in sctp_getsockopt_local_auth_chunks()
7035 if (!ch) in sctp_getsockopt_local_auth_chunks()
7038 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
7042 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()