Lines Matching refs:cph
161 sctp_parm_hdr_t *cph; in validate_init_params() local
195 if (remaining < sizeof (*cph)) { in validate_init_params()
205 cph = (sctp_parm_hdr_t *)(ic + 1); in validate_init_params()
207 while (cph != NULL) { in validate_init_params()
208 ptype = ntohs(cph->sph_type); in validate_init_params()
226 *want_cookie = cph; in validate_init_params()
242 details = (char *)cph; in validate_init_params()
243 errlen = ntohs(cph->sph_len); in validate_init_params()
251 plen = ntohs(cph->sph_len); in validate_init_params()
252 p = (uint16_t *)(cph + 1); in validate_init_params()
297 (void *)cph, in validate_init_params()
298 ntohs(cph->sph_len)); in validate_init_params()
312 sctp_add_unrec_parm(cph, errmp, in validate_init_params()
331 cph = sctp_next_parm(cph, &remaining); in validate_init_params()
938 sctp_parm_hdr_t *cph; in sctp_send_cookie_echo() local
953 cph = NULL; in sctp_send_cookie_echo()
954 if (validate_init_params(sctp, iackch, iack, iackmp, &cph, &errmp, in sctp_send_cookie_echo()
961 ASSERT(cph != NULL); in sctp_send_cookie_echo()
966 ceclen = sizeof (*cech) + ntohs(cph->sph_len) - sizeof (*cph); in sctp_send_cookie_echo()
1100 bcopy(cph + 1, cech + 1, ceclen - sizeof (*cph)); in sctp_send_cookie_echo()