Searched refs:chk_length (Results 1 – 4 of 4) sorted by relevance
/netbsd-src/sys/netinet/ |
H A D | sctp_input.c | 1048 int chk_length; in sctp_process_cookie_existing() local 1102 chk_length = ntohs(init_cp->ch.chunk_length); in sctp_process_cookie_existing() 1116 initack_offset = init_offset + SCTP_SIZE32(chk_length); in sctp_process_cookie_existing() 1129 chk_length = ntohs(initack_cp->ch.chunk_length); in sctp_process_cookie_existing() 1421 int chk_length; in sctp_process_cookie_new() local 1443 chk_length = ntohs(init_cp->ch.chunk_length); in sctp_process_cookie_new() 1453 initack_offset = init_offset + SCTP_SIZE32(chk_length); in sctp_process_cookie_new() 1470 chk_length = ntohs(initack_cp->ch.chunk_length); in sctp_process_cookie_new() 1484 initack_limit = initack_offset + SCTP_SIZE32(chk_length); in sctp_process_cookie_new() 2724 int chk_length, param_len; in sctp_handle_stream_reset() local [all …]
|
H A D | sctp_indata.c | 1665 struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length, in sctp_process_a_data_chunk() argument 1870 the_len = (chk_length-sizeof(struct sctp_data_chunk)); in sctp_process_a_data_chunk() 2506 int chk_length, break_flag, last_chunk; in sctp_process_data() local 2587 chk_length = ntohs(ch->ch.chunk_length); in sctp_process_data() 2588 if ((size_t)chk_length < sizeof(struct sctp_data_chunk) + 1 || in sctp_process_data() 2589 length - *offset < chk_length) { in sctp_process_data() 2616 chk_length, length - *offset); in sctp_process_data() 2623 if (SCTP_SIZE32(chk_length) == *offset - length) { in sctp_process_data() 2629 chk_length, net, high_tsn, &abort_flag, &break_flag, in sctp_process_data() 2650 *offset += SCTP_SIZE32(chk_length); in sctp_process_data() [all...] |
H A D | sctputil.c | 2711 unsigned int chk_length; in sctp_handle_ootb() local 2722 chk_length = ntohs(ch->chunk_length); in sctp_handle_ootb() 2723 if (chk_length < sizeof(*ch)) { in sctp_handle_ootb() 2746 offset += SCTP_SIZE32(chk_length); in sctp_handle_ootb() 2763 unsigned int chk_length; in sctp_is_there_an_abort_here() local 2769 chk_length = ntohs(ch->chunk_length); in sctp_is_there_an_abort_here() 2770 if (chk_length < sizeof(*ch)) { in sctp_is_there_an_abort_here() 2788 offset += SCTP_SIZE32(chk_length); in sctp_is_there_an_abort_here()
|
H A D | sctp_output.c | 6119 int chk_length, argument 6134 outchain = sctp_m_copym(m, offset, chk_length, M_DONTWAIT); 6154 outchain->m_pkthdr.len = chk_length; 6155 if (chk_length % 4) { 6171 chk->send_size = chk_length;
|