Home
last modified time | relevance | path

Searched refs:chk_len (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_input.c4186 uint32_t offset, chk_len; in sctp_handle_packet_dropped() local
4224 chk_len = (uint32_t)ntohs(chk_hdr->chunk_length); in sctp_handle_packet_dropped()
4225 if (chk_len < sizeof(struct sctp_chunkhdr)) { in sctp_handle_packet_dropped()
4234 if (chk_len <= sizeof(struct sctp_data_chunk)) { in sctp_handle_packet_dropped()
4238 if (chk_len < sizeof(struct sctp_data_chunk) + SCTP_NUM_DB_TO_VERIFY) { in sctp_handle_packet_dropped()
4261 if (chk_len <= sizeof(struct sctp_idata_chunk)) { in sctp_handle_packet_dropped()
4265 if (chk_len < sizeof(struct sctp_idata_chunk) + SCTP_NUM_DB_TO_VERIFY) { in sctp_handle_packet_dropped()
4293 offset += SCTP_SIZE32(chk_len); in sctp_handle_packet_dropped()
H A Dsctputil.c3379 int notifhdr_len, chk_len, chkhdr_len, padding_len, payload_len; in sctp_notify_send_failed() local
3413 chk_len = ntohs(chkhdr->chunk_length); in sctp_notify_send_failed()
3414 if ((chk_len >= chkhdr_len) && in sctp_notify_send_failed()
3415 (chk->send_size >= chk_len) && in sctp_notify_send_failed()
3416 (chk->send_size - chk_len < 4)) { in sctp_notify_send_failed()
3417 padding_len = chk->send_size - chk_len; in sctp_notify_send_failed()