Searched refs:chk_length (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/sys/netinet/
H A Dsctp_input.c2113 * NOTE: We can't use the INIT_ACK's chk_length to determine the
2114 * "initack_limit" value. This is because the chk_length field
4517 uint32_t chk_length; local
4759 chk_length = ntohs(ch->chunk_length);
4761 ch->chunk_type, chk_length);
4762 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length);
4763 if (chk_length < sizeof(*ch) ||
4764 (*offset + (int)chk_length) > length) {
4791 if (chk_length > sizeof(chunk_buf)) {
4815 chk_length, chunk_bu
[all...]
H A Dsctp_indata.c1575 struct mbuf **m, int offset, int chk_length,
1627 if ((size_t)chk_length == clen) {
1886 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length;
1922 the_len = (chk_length - sizeof(struct sctp_idata_chunk));
1924 the_len = (chk_length - sizeof(struct sctp_data_chunk));
2548 int chk_length, break_flag, last_chunk; local
2615 chk_length = ntohs(ch->chunk_length);
2616 if (length - *offset < chk_length) {
2652 if (chk_length < clen) {
2661 chk_length);
1574 sctp_process_a_data_chunk(struct sctp_tcb *stcb, struct sctp_association *asoc, struct mbuf **m, int offset, int chk_length, struct sctp_nets *net, uint32_t * high_tsn, int *abort_flag, int *break_flag, int last_chunk, uint8_t chtype) argument
[all...]
H A Dsctputil.c4154 unsigned int chk_length; local
4169 chk_length = ntohs(ch->chunk_length);
4170 if (chk_length < sizeof(*ch)) {
4198 offset += SCTP_SIZE32(chk_length);
4221 unsigned int chk_length; local
4227 chk_length = ntohs(ch->chunk_length);
4228 if (chk_length < sizeof(*ch)) {
4246 offset += SCTP_SIZE32(chk_length);
H A Dsctp_output.c9074 int chk_length,
9089 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT);
9102 if (chk_length % 4) {
9107 padlen = 4 - (chk_length % 4);
9108 m_copyback(outchain, chk_length, padlen, (caddr_t)&cpthis);
9120 chk->send_size = chk_length;
11475 unsigned int chk_length; local
11506 chk_length = ntohs(ch->chunk_length);
11507 if (chk_length < sizeof(*ch)) {
11526 offset += SCTP_SIZE32(chk_length);
9071 sctp_send_heartbeat_ack(struct sctp_tcb *stcb, struct mbuf *m, int offset, int chk_length, struct sctp_nets *net) argument
[all...]

Completed in 244 milliseconds