Lines Matching defs:chk_length
1678 struct mbuf **m, int offset, int chk_length,
1729 if ((size_t)chk_length == clen) {
1971 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length;
2013 the_len = (chk_length - sizeof(struct sctp_idata_chunk));
2015 the_len = (chk_length - sizeof(struct sctp_data_chunk));
2649 uint16_t chk_length;
2713 chk_length = ntohs(ch->chunk_length);
2714 if (length - *offset < chk_length) {
2750 if (chk_length < clen) {
2760 chk_length);
2769 if (SCTP_SIZE32(chk_length) == (length - *offset)) {
2775 chk_length, net, high_tsn, &abort_flag, &break_flag,
2840 if (chk_length < sizeof(struct sctp_chunkhdr)) {
2848 SCTP_SNPRINTF(msg, sizeof(msg), "Chunk of length %u", chk_length);
2864 cause->length = htons((uint16_t)(chk_length + sizeof(struct sctp_gen_error_cause)));
2866 SCTP_BUF_NEXT(op_err) = SCTP_M_COPYM(m, *offset, chk_length, M_NOWAIT);
2882 *offset += SCTP_SIZE32(chk_length);