Searched refs:ch_len (Results 1 – 2 of 2) sorted by relevance
131 uint16_t ch_len; in sctp_assoc_event() local137 ch_len = (ch != NULL) ? ntohs(ch->sch_len) : 0; in sctp_assoc_event()139 if ((mp = allocb(sizeof (*sacp) + ch_len, BPRI_MED)) == NULL) { in sctp_assoc_event()146 sacp->sac_length = sizeof (*sacp) + ch_len; in sctp_assoc_event()154 bcopy(ch, sacp + 1, ch_len); in sctp_assoc_event()
275 uint16_t ch_len; in sctp_first_chunk() local282 ch_len = ntohs(ch->sch_len); in sctp_first_chunk()284 if (ch_len < sizeof (*ch) || remaining < ch_len) { in sctp_first_chunk()295 uint16_t ch_len; in sctp_next_chunk() local301 ch_len = ntohs(ch->sch_len); in sctp_next_chunk()303 if ((pad = ch_len & (SCTP_ALIGN - 1)) != 0) { in sctp_next_chunk()307 *remaining -= (ch_len + pad); in sctp_next_chunk()308 ch = (sctp_chunk_hdr_t *)((char *)ch + ch_len + pad); in sctp_next_chunk()3250 uint16_t ch_len; in sctp_check_input() local3252 ch_len = ntohs(ch->sch_len); in sctp_check_input()[all …]