Searched refs:chk_length (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_input.c | 4192 int chk_length, param_len, ptype; local 4205 chk_length = ntohs(ch_req->chunk_length); 4241 while ((size_t)chk_length >= sizeof(struct sctp_stream_reset_tsn_request)) { 4314 chk_length -= SCTP_SIZE32(param_len); 4513 uint32_t chk_length; local 4757 chk_length = ntohs(ch->chunk_length); 4759 ch->chunk_type, chk_length); 4760 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length); 4761 if (chk_length < sizeof(*ch) || 4762 (*offset + (int)chk_length) > length) { [all …]
|
D | sctp_indata.c | 1272 struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length, in sctp_process_a_data_chunk() argument 1471 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; in sctp_process_a_data_chunk() 1500 the_len = (chk_length - sizeof(struct sctp_data_chunk)); in sctp_process_a_data_chunk() 2316 int chk_length, break_flag, last_chunk; in sctp_process_data() local 2384 chk_length = ntohs(ch->ch.chunk_length); in sctp_process_data() 2385 if (length - *offset < chk_length) { in sctp_process_data() 2391 if ((size_t)chk_length < sizeof(struct sctp_data_chunk)) { in sctp_process_data() 2400 chk_length); in sctp_process_data() 2411 if ((size_t)chk_length == sizeof(struct sctp_data_chunk)) { in sctp_process_data() 2431 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data() [all …]
|
D | sctputil.c | 4226 unsigned int chk_length; local 4247 chk_length = ntohs(ch->chunk_length); 4248 if (chk_length < sizeof(*ch)) { 4278 offset += SCTP_SIZE32(chk_length); 4303 unsigned int chk_length; local 4309 chk_length = ntohs(ch->chunk_length); 4310 if (chk_length < sizeof(*ch)) { 4328 offset += SCTP_SIZE32(chk_length);
|
D | sctp_output.c | 9305 int chk_length, argument 9320 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT); 9339 if (chk_length % 4) { 9344 padlen = 4 - (chk_length % 4); 9345 m_copyback(outchain, chk_length, padlen, (caddr_t)&cpthis); 9354 chk->send_size = chk_length; 11882 unsigned int chk_length; local 11910 chk_length = ntohs(ch->chunk_length); 11911 if (chk_length < sizeof(*ch)) { 11930 offset += SCTP_SIZE32(chk_length);
|