Home
last modified time | relevance | path

Searched refs:errh (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c368 sctp_parm_hdr_t *errh = NULL; in sctp_error_event() local
392 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()
H A Dsctp_error.c607 sctp_parm_hdr_t *errh; in sctp_handle_error() local
614 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()