Searched refs:chk_length (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/netinet/ |
| H A D | sctp_input.c | 4370 uint32_t chk_length, contiguous; in sctp_process_control() local 4586 chk_length = ntohs(ch->chunk_length); in sctp_process_control() 4588 ch->chunk_type, chk_length); in sctp_process_control() 4590 if (chk_length < sizeof(*ch) || in sctp_process_control() 4591 (*offset + (int)chk_length) > length) { in sctp_process_control() 4609 contiguous = min(chk_length, sizeof(chunk_buf)); in sctp_process_control() 4662 if (chk_length > SCTP_LARGEST_INIT_ACCEPTED) { in sctp_process_control() 4849 chk_length, *netp); in sctp_process_control() 5212 min(chk_length, contiguous)); in sctp_process_control() 5221 auth_len = chk_length; in sctp_process_control() [all …]
|
| H A D | sctp_indata.c | 1691 struct mbuf **m, int offset, int chk_length, in sctp_process_a_data_chunk() argument 1742 if ((size_t)chk_length == clen) { in sctp_process_a_data_chunk() 1983 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; in sctp_process_a_data_chunk() 2661 uint16_t chk_length; in sctp_process_data() local 2725 chk_length = ntohs(ch->chunk_length); in sctp_process_data() 2726 if (length - *offset < chk_length) { in sctp_process_data() 2762 if (chk_length < clen) { in sctp_process_data() 2772 chk_length); in sctp_process_data() 2781 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data() 2852 if (chk_length < sizeof(struct sctp_chunkhdr)) { in sctp_process_data() [all …]
|
| H A D | sctputil.c | 4492 unsigned int chk_length; in sctp_handle_ootb() local 4507 chk_length = ntohs(ch->chunk_length); in sctp_handle_ootb() 4508 if (chk_length < sizeof(*ch)) { in sctp_handle_ootb() 4536 offset += SCTP_SIZE32(chk_length); in sctp_handle_ootb() 4559 unsigned int chk_length; in sctp_is_there_an_abort_here() local 4565 chk_length = ntohs(ch->chunk_length); in sctp_is_there_an_abort_here() 4566 if (chk_length < sizeof(*ch)) { in sctp_is_there_an_abort_here() 4584 offset += SCTP_SIZE32(chk_length); in sctp_is_there_an_abort_here()
|
| H A D | sctp_output.c | 9036 int chk_length, in sctp_send_heartbeat_ack() argument 9050 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT); in sctp_send_heartbeat_ack() 9063 if (chk_length % 4 != 0) { in sctp_send_heartbeat_ack() 9064 sctp_pad_lastmbuf(outchain, 4 - (chk_length % 4), NULL); in sctp_send_heartbeat_ack() 9076 chk->send_size = chk_length; in sctp_send_heartbeat_ack() 11441 unsigned int chk_length; in sctp_send_packet_dropped() local 11472 chk_length = ntohs(ch->chunk_length); in sctp_send_packet_dropped() 11473 if (chk_length < sizeof(*ch)) { in sctp_send_packet_dropped() 11492 offset += SCTP_SIZE32(chk_length); in sctp_send_packet_dropped()
|