Searched refs:chk_len (Results 1 – 2 of 2) sorted by relevance
4136 uint32_t offset, chk_len; in sctp_handle_packet_dropped() local4174 chk_len = (uint32_t)ntohs(chk_hdr->chunk_length); in sctp_handle_packet_dropped()4175 if (chk_len < sizeof(struct sctp_chunkhdr)) { in sctp_handle_packet_dropped()4184 if (chk_len <= sizeof(struct sctp_data_chunk)) { in sctp_handle_packet_dropped()4188 if (chk_len < sizeof(struct sctp_data_chunk) + SCTP_NUM_DB_TO_VERIFY) { in sctp_handle_packet_dropped()4211 if (chk_len <= sizeof(struct sctp_idata_chunk)) { in sctp_handle_packet_dropped()4215 if (chk_len < sizeof(struct sctp_idata_chunk) + SCTP_NUM_DB_TO_VERIFY) { in sctp_handle_packet_dropped()4245 offset += SCTP_SIZE32(chk_len); in sctp_handle_packet_dropped()
3379 int notifhdr_len, chk_len, chkhdr_len, padding_len, payload_len; in sctp_notify_send_failed() local3416 chk_len = ntohs(chkhdr->chunk_length); in sctp_notify_send_failed()3417 if ((chk_len >= chkhdr_len) && in sctp_notify_send_failed()3418 (chk->send_size >= chk_len) && in sctp_notify_send_failed()3419 (chk->send_size - chk_len < 4)) { in sctp_notify_send_failed()3420 padding_len = chk->send_size - chk_len; in sctp_notify_send_failed()