Searched refs:sch_len (Results 1 – 13 of 13) sorted by relevance
85 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()
125 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()
192 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()1086 ntohs(iackch->sch_len) - (sizeof (*iackch) + sizeof (*iack)), in sctp_send_cookie_echo()1095 cech->sch_len = htons(ceclen); in sctp_send_cookie_echo()1237 clen = ntohs(ch->sch_len) - sizeof (*ch) - 16; in sctp_process_cookie()1240 ntohs(ch->sch_len))); in sctp_process_cookie()[all …]
73 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()
137 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()
296 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()640 rlen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*snp); in sctp_input_asconf_ack()676 plen = ntohs(och->sch_len) - sizeof (*och) - sizeof (*idp); in sctp_input_asconf_ack()745 plen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*idp); in sctp_input_asconf_ack()
195 U16_TO_ABE16(schlen, &(chp->sch_len)); in sctp_init_mp()
281 ch_len = ntohs(ch->sch_len); in sctp_first_chunk()300 ch_len = ntohs(ch->sch_len); in sctp_next_chunk()1419 dmp->b_wptr = (uchar_t *)ch + ntohs(ch->sch_len); in sctp_data_chunk()1760 sch->sch_len = htons(sacklen); in sctp_fill_sack()1901 sch->sch_len = htons(slen + dups_len); in sctp_make_sack()2298 remaining = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*ftsn); in sctp_process_forward_tsn()2731 chunklen = ntohs(sch->sch_len); in sctp_got_sack()3214 len = ntohs(ch->sch_len); in sctp_strange_chunk()3250 ch_len = ntohs(ch->sch_len); in sctp_check_input()3787 if (ntohs(ch->sch_len) == sizeof (*sdc)) { in sctp_input_data()[all …]
1177 ecp->sch_len = htons(ntohs(ecp->sch_len) + len); in sctp_add_unrec_parm()1344 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_get_addrparams()1536 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_secure_restart_check()
399 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_lookup_by_faddrs()
1431 U16_TO_ABE16(schlen, &(ch_hdr->sch_len)); in sctp_make_ftsn_chunk()
642 uint16_t sch_len; member668 #define sdh_len sdh_chdr.sch_len
996 clen = ntohs(cp->sch_len); in interpret_chunks()