Lines Matching refs:next_tsn
398 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_reassembled() local
410 next_tsn = 0; in sctp_ulpq_retrieve_reassembled()
446 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_reassembled()
450 if ((first_frag) && (ctsn == next_tsn)) { in sctp_ulpq_retrieve_reassembled()
451 next_tsn++; in sctp_ulpq_retrieve_reassembled()
461 if (first_frag && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled()
505 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_partial() local
519 next_tsn = 0; in sctp_ulpq_retrieve_partial()
534 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_partial()
536 } else if (next_tsn == ctsn) { in sctp_ulpq_retrieve_partial()
537 next_tsn++; in sctp_ulpq_retrieve_partial()
545 else if (ctsn != next_tsn) in sctp_ulpq_retrieve_partial()
605 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_first() local
618 next_tsn = 0; in sctp_ulpq_retrieve_first()
628 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_first()
637 if (ctsn == next_tsn) { in sctp_ulpq_retrieve_first()
638 next_tsn++; in sctp_ulpq_retrieve_first()