Searched refs:chk_length (Results 1 – 4 of 4) sorted by relevance
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_input.c | 4738 uint32_t chk_length, contiguous; local 4960 chk_length = ntohs(ch->chunk_length); 4962 ch->chunk_type, chk_length); 4963 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length); 4964 if (chk_length < sizeof(*ch) || 4965 (*offset + (int)chk_length) > length) { 4983 contiguous = min(chk_length, sizeof(chunk_buf)); 5027 (length - *offset > (int)SCTP_SIZE32(chk_length))) { 5036 if (chk_length > SCTP_LARGEST_INIT_ACCEPTED) { 5090 (length - *offset > (int)SCTP_SIZE32(chk_length))) { [all …]
|
D | sctp_indata.c | 1695 struct mbuf **m, int offset, int chk_length, in sctp_process_a_data_chunk() argument 1745 if ((size_t)chk_length == clen) { in sctp_process_a_data_chunk() 2000 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; in sctp_process_a_data_chunk() 2042 the_len = (chk_length - sizeof(struct sctp_idata_chunk)); in sctp_process_a_data_chunk() 2044 the_len = (chk_length - sizeof(struct sctp_data_chunk)); in sctp_process_a_data_chunk() 2684 uint16_t chk_length; in sctp_process_data() local 2750 chk_length = ntohs(ch->chunk_length); in sctp_process_data() 2751 if (length - *offset < chk_length) { in sctp_process_data() 2787 if (chk_length < clen) { in sctp_process_data() 2797 chk_length); in sctp_process_data() [all …]
|
D | sctputil.c | 4810 unsigned int chk_length; local 4831 chk_length = ntohs(ch->chunk_length); 4832 if (chk_length < sizeof(*ch)) { 4862 offset += SCTP_SIZE32(chk_length); 4887 unsigned int chk_length; local 4893 chk_length = ntohs(ch->chunk_length); 4894 if (chk_length < sizeof(*ch)) { 4912 offset += SCTP_SIZE32(chk_length);
|
D | sctp_output.c | 9678 int chk_length, argument 9692 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT); 9705 if (chk_length % 4 != 0) { 9706 sctp_pad_lastmbuf(outchain, 4 - (chk_length % 4), NULL); 9718 chk->send_size = chk_length; 12345 unsigned int chk_length; local 12376 chk_length = ntohs(ch->chunk_length); 12377 if (chk_length < sizeof(*ch)) { 12396 offset += SCTP_SIZE32(chk_length);
|