Searched refs:chk_length (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.0-release/sys/netinet/ |
H A D | sctp_input.c | 2101 * NOTE: We can't use the INIT_ACK's chk_length to determine the 2102 * "initack_limit" value. This is because the chk_length field 4427 uint32_t chk_length; local 4663 chk_length = ntohs(ch->chunk_length); 4665 ch->chunk_type, chk_length); 4666 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length); 4667 if (chk_length < sizeof(*ch) || 4668 (*offset + (int)chk_length) > length) { 4695 if (chk_length > sizeof(chunk_buf)) { 4719 chk_length, chunk_bu [all...] |
H A D | sctp_indata.c | 1426 struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length, 1627 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; 1670 the_len = (chk_length - sizeof(struct sctp_data_chunk)); 2529 int chk_length, break_flag, last_chunk; local 2596 chk_length = ntohs(ch->ch.chunk_length); 2597 if (length - *offset < chk_length) { 2603 if ((size_t)chk_length < sizeof(struct sctp_data_chunk) + 1) { 2639 if (SCTP_SIZE32(chk_length) == (length - *offset)) { 2645 chk_length, net, high_tsn, &abort_flag, &break_flag, 2727 htons(chk_length 1425 sctp_process_a_data_chunk(struct sctp_tcb *stcb, struct sctp_association *asoc, struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length, struct sctp_nets *net, uint32_t * high_tsn, int *abort_flag, int *break_flag, int last_chunk) argument [all...] |
H A D | sctputil.c | 4023 unsigned int chk_length; local 4038 chk_length = ntohs(ch->chunk_length); 4039 if (chk_length < sizeof(*ch)) { 4070 offset += SCTP_SIZE32(chk_length); 4093 unsigned int chk_length; local 4099 chk_length = ntohs(ch->chunk_length); 4100 if (chk_length < sizeof(*ch)) { 4118 offset += SCTP_SIZE32(chk_length);
|
H A D | sctp_output.c | 8892 int chk_length, 8907 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT); 8926 if (chk_length % 4) { 8931 padlen = 4 - (chk_length % 4); 8932 m_copyback(outchain, chk_length, padlen, (caddr_t)&cpthis); 8941 chk->send_size = chk_length; 11257 unsigned int chk_length; local 11285 chk_length = ntohs(ch->chunk_length); 11286 if (chk_length < sizeof(*ch)) { 11305 offset += SCTP_SIZE32(chk_length); 8889 sctp_send_heartbeat_ack(struct sctp_tcb *stcb, struct mbuf *m, int offset, int chk_length, struct sctp_nets *net) argument [all...] |
Completed in 112 milliseconds