Lines Matching refs:ch
6978 struct sctp_chunks_param *ch; in sctp_getsockopt_peer_auth_chunks() local
6996 ch = asoc->peer.peer_chunks; in sctp_getsockopt_peer_auth_chunks()
6997 if (!ch) in sctp_getsockopt_peer_auth_chunks()
7001 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
7005 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
7023 struct sctp_chunks_param *ch; in sctp_getsockopt_local_auth_chunks() local
7042 ch = (struct sctp_chunks_param *)asoc->c.auth_chunks; in sctp_getsockopt_local_auth_chunks()
7046 ch = ep->auth_chunk_list; in sctp_getsockopt_local_auth_chunks()
7048 if (!ch) in sctp_getsockopt_local_auth_chunks()
7051 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
7055 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()