Searched defs: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; local
137 ch_len = (ch != NULL) ? ntohs(ch->sch_len) : 0;
139 if ((mp = allocb(sizeof (*sacp) + ch_len, BPRI_MED)) == NULL) {
146 sacp->sac_length = sizeof (*sacp) + ch_len;
154 bcopy(ch, sacp + 1, ch_len);
H A Dsctp_input.c274 uint16_t ch_len; local
281 ch_len = ntohs(ch->sch_len);
283 if (ch_len < sizeof (*ch) || remaining < ch_len) {
294 uint16_t ch_len; local
300 ch_len = ntohs(ch->sch_len);
302 if ((pad = ch_len & (SCTP_ALIGN - 1)) != 0) {
306 *remaining -= (ch_len + pad);
307 ch = (sctp_chunk_hdr_t *)((char *)ch + ch_len + pad);
3248 uint16_t ch_len; local
[all...]

Completed in 276 milliseconds