Lines Matching refs:ch
5412 struct sctp_chunks_param *ch; in sctp_getsockopt_peer_auth_chunks() local
5430 ch = asoc->peer.peer_chunks; in sctp_getsockopt_peer_auth_chunks()
5431 if (!ch) in sctp_getsockopt_peer_auth_chunks()
5435 num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t); in sctp_getsockopt_peer_auth_chunks()
5439 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
5456 struct sctp_chunks_param *ch; in sctp_getsockopt_local_auth_chunks() local
5475 ch = (struct sctp_chunks_param*)asoc->c.auth_chunks; in sctp_getsockopt_local_auth_chunks()
5477 ch = sctp_sk(sk)->ep->auth_chunk_list; in sctp_getsockopt_local_auth_chunks()
5479 if (!ch) in sctp_getsockopt_local_auth_chunks()
5482 num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t); in sctp_getsockopt_local_auth_chunks()
5486 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()