Home
last modified time | relevance | path

Searched refs:sch_len (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_heartbeat.c85 len = ntohs(hbcp->sch_len); in sctp_return_heartbeat()
97 cp->sch_len = htons(len); in sctp_return_heartbeat()
146 cp->sch_len = hblen; in sctp_send_heartbeat()
147 cp->sch_len = htons(cp->sch_len); in sctp_send_heartbeat()
286 if (ntohs(cp->sch_len) < (sizeof (*cp) + sizeof (*hpp) + in sctp_process_heartbeat()
296 ntohs(hpp->sph_len) != (ntohs(cp->sch_len) - sizeof (*cp))) { in sctp_process_heartbeat()
H A Dsctp_shutdown.c125 sch->sch_len = htons(sizeof (*sch) + sizeof (*ctsn)); in sctp_send_shutdown()
208 scch->sch_len = htons(sizeof (*scch)); in sctp_shutdown_complete()
328 scch->sch_len = htons(sizeof (*scch)); in sctp_ootb_shutdown_ack()
389 sach->sch_len = htons(sizeof (*sach)); in sctp_send_shutdown_ack()
H A Dsctp_cookie.c192 remaining = ntohs(ch->sch_len) - sizeof (*ch); in validate_init_params()
458 ntohs((initcp)->sch_len) + /* peer's INIT */ \
703 iack_ch->sch_len = htons(iacklen); in sctp_send_initack()
797 bcopy(ch, p, ntohs(ch->sch_len)); in sctp_send_initack()
798 p += ntohs(ch->sch_len); in sctp_send_initack()
897 cach->sch_len = htons(sizeof (*cach)); in sctp_send_cookie_ack()
1088 ntohs(iackch->sch_len) - (sizeof (*iackch) + sizeof (*iack)), in sctp_send_cookie_echo()
1097 cech->sch_len = htons(ceclen); in sctp_send_cookie_echo()
1239 clen = ntohs(ch->sch_len) - sizeof (*ch) - 16; in sctp_process_cookie()
1242 ntohs(ch->sch_len))); in sctp_process_cookie()
[all …]
H A Dsctp_error.c73 acp->sch_len = htons(alen); in sctp_link_abort()
494 ecp->sch_len = htons(elen); in sctp_make_err()
610 if (ch->sch_len == htons(sizeof (*ch))) { in sctp_handle_error()
647 if (ntohs(uch->sch_len) != in sctp_handle_error()
H A Dsctp_notify.c137 ch_len = (ch != NULL) ? ntohs(ch->sch_len) : 0; in sctp_assoc_event()
390 if (ntohs(ch->sch_len) > in sctp_error_event()
396 if (ntohs(ch->sch_len) > sizeof (*ch)) { in sctp_error_event()
H A Dsctp_asconf.c296 ch->sch_len = htons(msgdsize(mp)); in sctp_asconf_send()
398 rlen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*idp); in sctp_input_asconf()
586 ach->sch_len = htons(msgdsize(hmp) - sctp->sctp_hdr_len); in sctp_input_asconf()
588 ach->sch_len = htons(msgdsize(hmp) - sctp->sctp_hdr6_len); in sctp_input_asconf()
646 rlen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*snp); in sctp_input_asconf_ack()
682 plen = ntohs(och->sch_len) - sizeof (*och) - sizeof (*idp); in sctp_input_asconf_ack()
751 plen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*idp); in sctp_input_asconf_ack()
H A Dsctp_init.c195 U16_TO_ABE16(schlen, &(chp->sch_len)); in sctp_init_mp()
H A Dsctp_input.c282 ch_len = ntohs(ch->sch_len); in sctp_first_chunk()
301 ch_len = ntohs(ch->sch_len); in sctp_next_chunk()
1421 dmp->b_wptr = (uchar_t *)ch + ntohs(ch->sch_len); in sctp_data_chunk()
1762 sch->sch_len = htons(sacklen); in sctp_fill_sack()
1903 sch->sch_len = htons(slen + dups_len); in sctp_make_sack()
2733 chunklen = ntohs(sch->sch_len); in sctp_got_sack()
3216 len = ntohs(ch->sch_len); in sctp_strange_chunk()
3252 ch_len = ntohs(ch->sch_len); in sctp_check_input()
3797 if (ntohs(ch->sch_len) == sizeof (*sdc)) { in sctp_input_data()
4019 if (mlen > ntohs(ch->sch_len)) { in sctp_input_data()
[all …]
H A Dsctp_common.c1179 ecp->sch_len = htons(ntohs(ecp->sch_len) + len); in sctp_add_unrec_parm()
1346 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_get_addrparams()
1538 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_secure_restart_check()
H A Dsctp_hash.c400 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_lookup_by_faddrs()
H A Dsctp_output.c1433 U16_TO_ABE16(schlen, &(ch_hdr->sch_len)); in sctp_make_ftsn_chunk()
/illumos-gate/usr/src/uts/common/netinet/
H A Dsctp.h642 uint16_t sch_len; member
668 #define sdh_len sdh_chdr.sch_len
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c994 clen = ntohs(cp->sch_len); in interpret_chunks()