Searched refs:chk_length (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12-stable/sys/netinet/ |
| D | sctp_input.c | 4385 uint32_t chk_length, contiguous; in sctp_process_control() local 4601 chk_length = ntohs(ch->chunk_length); in sctp_process_control() 4603 ch->chunk_type, chk_length); in sctp_process_control() 4604 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length); in sctp_process_control() 4605 if (chk_length < sizeof(*ch) || in sctp_process_control() 4606 (*offset + (int)chk_length) > length) { in sctp_process_control() 4624 contiguous = min(chk_length, sizeof(chunk_buf)); in sctp_process_control() 4668 (length - *offset > (int)SCTP_SIZE32(chk_length))) { in sctp_process_control() 4677 if (chk_length > SCTP_LARGEST_INIT_ACCEPTED) { in sctp_process_control() 4716 (length - *offset > (int)SCTP_SIZE32(chk_length))) { in sctp_process_control() [all …]
|
| D | sctp_indata.c | 1699 struct mbuf **m, int offset, int chk_length, in sctp_process_a_data_chunk() argument 1750 if ((size_t)chk_length == clen) { in sctp_process_a_data_chunk() 1991 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; in sctp_process_a_data_chunk() 2033 the_len = (chk_length - sizeof(struct sctp_idata_chunk)); in sctp_process_a_data_chunk() 2035 the_len = (chk_length - sizeof(struct sctp_data_chunk)); in sctp_process_a_data_chunk() 2674 uint16_t chk_length; in sctp_process_data() local 2738 chk_length = ntohs(ch->chunk_length); in sctp_process_data() 2739 if (length - *offset < chk_length) { in sctp_process_data() 2775 if (chk_length < clen) { in sctp_process_data() 2785 chk_length); in sctp_process_data() [all …]
|
| D | sctputil.c | 4500 unsigned int chk_length; in sctp_handle_ootb() local 4515 chk_length = ntohs(ch->chunk_length); in sctp_handle_ootb() 4516 if (chk_length < sizeof(*ch)) { in sctp_handle_ootb() 4544 offset += SCTP_SIZE32(chk_length); in sctp_handle_ootb() 4567 unsigned int chk_length; in sctp_is_there_an_abort_here() local 4573 chk_length = ntohs(ch->chunk_length); in sctp_is_there_an_abort_here() 4574 if (chk_length < sizeof(*ch)) { in sctp_is_there_an_abort_here() 4592 offset += SCTP_SIZE32(chk_length); in sctp_is_there_an_abort_here()
|
| D | sctp_output.c | 9041 int chk_length, in sctp_send_heartbeat_ack() argument 9055 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT); in sctp_send_heartbeat_ack() 9068 if (chk_length % 4 != 0) { in sctp_send_heartbeat_ack() 9069 sctp_pad_lastmbuf(outchain, 4 - (chk_length % 4), NULL); in sctp_send_heartbeat_ack() 9081 chk->send_size = chk_length; in sctp_send_heartbeat_ack() 11450 unsigned int chk_length; in sctp_send_packet_dropped() local 11481 chk_length = ntohs(ch->chunk_length); in sctp_send_packet_dropped() 11482 if (chk_length < sizeof(*ch)) { in sctp_send_packet_dropped() 11501 offset += SCTP_SIZE32(chk_length); in sctp_send_packet_dropped()
|