Lines Matching refs:ch
6972 struct sctp_chunks_param *ch; in sctp_getsockopt_peer_auth_chunks() local
6990 ch = asoc->peer.peer_chunks; in sctp_getsockopt_peer_auth_chunks()
6991 if (!ch) in sctp_getsockopt_peer_auth_chunks()
6995 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
6999 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
7017 struct sctp_chunks_param *ch; in sctp_getsockopt_local_auth_chunks() local
7036 ch = (struct sctp_chunks_param *)asoc->c.auth_chunks; in sctp_getsockopt_local_auth_chunks()
7040 ch = ep->auth_chunk_list; in sctp_getsockopt_local_auth_chunks()
7042 if (!ch) in sctp_getsockopt_local_auth_chunks()
7045 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
7049 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()