Lines Matching refs:tchk
830 struct sctp_tmit_chunk *chk, *lchk, *tchk; in sctp_handle_old_unordered_data() local
865 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
866 if (tchk->rec.data.rcv_flags & SCTP_DATA_FIRST_FRAG) { in sctp_handle_old_unordered_data()
867 TAILQ_REMOVE(&control->reasm, tchk, sctp_next); in sctp_handle_old_unordered_data()
868 if (asoc->size_on_reasm_queue >= tchk->send_size) { in sctp_handle_old_unordered_data()
869 asoc->size_on_reasm_queue -= tchk->send_size; in sctp_handle_old_unordered_data()
872 …ize_on_reasm_queue = %u smaller than chunk length %u", asoc->size_on_reasm_queue, tchk->send_size); in sctp_handle_old_unordered_data()
879 nc->fsn_included = tchk->rec.data.fsn; in sctp_handle_old_unordered_data()
880 nc->data = tchk->data; in sctp_handle_old_unordered_data()
881 nc->sinfo_ppid = tchk->rec.data.ppid; in sctp_handle_old_unordered_data()
882 nc->sinfo_tsn = tchk->rec.data.tsn; in sctp_handle_old_unordered_data()
883 sctp_mark_non_revokable(asoc, tchk->rec.data.tsn); in sctp_handle_old_unordered_data()
884 tchk->data = NULL; in sctp_handle_old_unordered_data()
885 sctp_free_a_chunk(stcb, tchk, SCTP_SO_NOT_LOCKED); in sctp_handle_old_unordered_data()
887 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
890 while (tchk) { in sctp_handle_old_unordered_data()
891 TAILQ_REMOVE(&control->reasm, tchk, sctp_next); in sctp_handle_old_unordered_data()
892 TAILQ_INSERT_TAIL(&nc->reasm, tchk, sctp_next); in sctp_handle_old_unordered_data()
893 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()