Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c131 uint16_t ch_len; in sctp_assoc_event() local
137 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()
H A Dsctp_input.c274 uint16_t ch_len; in sctp_first_chunk() local
281 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() local
300 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() local
3250 ch_len = ntohs(ch->sch_len); in sctp_check_input()
[all …]