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()
274 uint16_t ch_len; in sctp_first_chunk() local281 ch_len = ntohs(ch->sch_len); in sctp_first_chunk()283 if (ch_len < sizeof (*ch) || remaining < ch_len) { in sctp_first_chunk()294 uint16_t ch_len; in sctp_next_chunk() local300 ch_len = ntohs(ch->sch_len); in sctp_next_chunk()302 if ((pad = ch_len & (SCTP_ALIGN - 1)) != 0) { in sctp_next_chunk()306 *remaining -= (ch_len + pad); in sctp_next_chunk()307 ch = (sctp_chunk_hdr_t *)((char *)ch + ch_len + pad); in sctp_next_chunk()3248 uint16_t ch_len; in sctp_check_input() local3250 ch_len = ntohs(ch->sch_len); in sctp_check_input()[all …]