Searched refs:chk_length (Results 1 - 4 of 4) sorted by relevance
/freebsd-10-stable/sys/netinet/ |
H A D | sctp_input.c | 2090 * NOTE: We can't use the INIT_ACK's chk_length to determine the 2091 * "initack_limit" value. This is because the chk_length field 4487 uint32_t chk_length; local 4729 chk_length = ntohs(ch->chunk_length); 4731 ch->chunk_type, chk_length); 4732 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length); 4733 if (chk_length < sizeof(*ch) || 4734 (*offset + (int)chk_length) > length) { 4761 if (chk_length > sizeof(chunk_buf)) { 4785 chk_length, chunk_bu [all...] |
H A D | sctp_indata.c | 1284 struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length, 1478 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; 1507 the_len = (chk_length - sizeof(struct sctp_data_chunk)); 2317 int chk_length, break_flag, last_chunk; local 2384 chk_length = ntohs(ch->ch.chunk_length); 2385 if (length - *offset < chk_length) { 2391 if ((size_t)chk_length < sizeof(struct sctp_data_chunk)) { 2400 chk_length); 2406 if ((size_t)chk_length == sizeof(struct sctp_data_chunk)) { 2421 if (SCTP_SIZE32(chk_length) 1283 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 | 4132 unsigned int chk_length; local 4147 chk_length = ntohs(ch->chunk_length); 4148 if (chk_length < sizeof(*ch)) { 4176 offset += SCTP_SIZE32(chk_length); 4199 unsigned int chk_length; local 4205 chk_length = ntohs(ch->chunk_length); 4206 if (chk_length < sizeof(*ch)) { 4224 offset += SCTP_SIZE32(chk_length);
|
H A D | sctp_output.c | 9051 int chk_length, 9066 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT); 9079 if (chk_length % 4) { 9084 padlen = 4 - (chk_length % 4); 9085 m_copyback(outchain, chk_length, padlen, (caddr_t)&cpthis); 9097 chk->send_size = chk_length; 11414 unsigned int chk_length; local 11445 chk_length = ntohs(ch->chunk_length); 11446 if (chk_length < sizeof(*ch)) { 11465 offset += SCTP_SIZE32(chk_length); 9048 sctp_send_heartbeat_ack(struct sctp_tcb *stcb, struct mbuf *m, int offset, int chk_length, struct sctp_nets *net) argument [all...] |
Completed in 92 milliseconds