Home
last modified time | relevance | path

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

/illumos-gate/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.c275 uint16_t ch_len; in sctp_first_chunk() local
282 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() local
301 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() local
3252 ch_len = ntohs(ch->sch_len); in sctp_check_input()
[all …]