Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp_input.c4322 uint32_t chk_length, contiguous; in sctp_process_control() local
4518 chk_length = ntohs(ch->chunk_length); in sctp_process_control()
4520 ch->chunk_type, chk_length); in sctp_process_control()
4521 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length); in sctp_process_control()
4522 if (chk_length < sizeof(*ch) || in sctp_process_control()
4523 (*offset + (int)chk_length) > length) { in sctp_process_control()
4541 contiguous = min(chk_length, sizeof(chunk_buf)); in sctp_process_control()
4582 (length - *offset > (int)SCTP_SIZE32(chk_length))) { in sctp_process_control()
4591 if (chk_length > SCTP_LARGEST_INIT_ACCEPTED) { in sctp_process_control()
4632 (length - *offset > (int)SCTP_SIZE32(chk_length))) { in sctp_process_control()
[all …]
H A Dsctp_indata.c1678 struct mbuf **m, int offset, int chk_length, in sctp_process_a_data_chunk() argument
1729 if ((size_t)chk_length == clen) { in sctp_process_a_data_chunk()
1971 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; in sctp_process_a_data_chunk()
2013 the_len = (chk_length - sizeof(struct sctp_idata_chunk)); in sctp_process_a_data_chunk()
2015 the_len = (chk_length - sizeof(struct sctp_data_chunk)); in sctp_process_a_data_chunk()
2649 uint16_t chk_length; in sctp_process_data() local
2713 chk_length = ntohs(ch->chunk_length); in sctp_process_data()
2714 if (length - *offset < chk_length) { in sctp_process_data()
2750 if (chk_length < clen) { in sctp_process_data()
2760 chk_length); in sctp_process_data()
[all …]
H A Dsctputil.c4550 unsigned int chk_length; in sctp_handle_ootb() local
4565 chk_length = ntohs(ch->chunk_length); in sctp_handle_ootb()
4566 if (chk_length < sizeof(*ch)) { in sctp_handle_ootb()
4594 offset += SCTP_SIZE32(chk_length); in sctp_handle_ootb()
4617 unsigned int chk_length; in sctp_is_there_an_abort_here() local
4623 chk_length = ntohs(ch->chunk_length); in sctp_is_there_an_abort_here()
4624 if (chk_length < sizeof(*ch)) { in sctp_is_there_an_abort_here()
4643 offset += SCTP_SIZE32(chk_length); in sctp_is_there_an_abort_here()
H A Dsctp_output.c9107 int chk_length, in sctp_send_heartbeat_ack() argument
9121 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT); in sctp_send_heartbeat_ack()
9134 if (chk_length % 4 != 0) { in sctp_send_heartbeat_ack()
9135 sctp_pad_lastmbuf(outchain, 4 - (chk_length % 4), NULL); in sctp_send_heartbeat_ack()
9147 chk->send_size = chk_length; in sctp_send_heartbeat_ack()
11553 unsigned int chk_length; in sctp_send_packet_dropped() local
11584 chk_length = ntohs(ch->chunk_length); in sctp_send_packet_dropped()
11585 if (chk_length < sizeof(*ch)) { in sctp_send_packet_dropped()
11604 offset += SCTP_SIZE32(chk_length); in sctp_send_packet_dropped()