Searched refs:errh (Results 1 – 2 of 2) sorted by relevance
368 sctp_parm_hdr_t *errh = NULL; in sctp_error_event() local392 errh = (sctp_parm_hdr_t *)((char *)ch + in sctp_error_event()397 errh = (sctp_parm_hdr_t *)(ch + 1); in sctp_error_event()401 if (errh != NULL) { in sctp_error_event()402 error = ntohs(errh->sph_type); in sctp_error_event()403 dlen = ntohs(errh->sph_len) - sizeof (*errh); in sctp_error_event()405 dtail = errh + 1; in sctp_error_event()
607 sctp_parm_hdr_t *errh; in sctp_handle_error() local614 errh = (sctp_parm_hdr_t *)(ch + 1); in sctp_handle_error()617 switch (errh->sph_type) { in sctp_handle_error()635 if (ntohs(errh->sph_len) < (sizeof (*errh) + sizeof (*uch))) { in sctp_handle_error()639 uch = (sctp_chunk_hdr_t *)(errh + 1); in sctp_handle_error()648 (ntohs(errh->sph_len) - sizeof (*errh))) { in sctp_handle_error()