Lines Matching refs:ctsn
278 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
291 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
292 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
300 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
302 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
404 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_reassembled() local
433 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
452 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_reassembled()
456 if ((first_frag) && (ctsn == next_tsn)) { in sctp_ulpq_retrieve_reassembled()
467 if (first_frag && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled()
511 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_partial() local
530 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial()
540 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_partial()
542 } else if (next_tsn == ctsn) { in sctp_ulpq_retrieve_partial()
551 else if (ctsn != next_tsn) in sctp_ulpq_retrieve_partial()
592 __u32 ctsn, ctsnap; in sctp_ulpq_reasm() local
597 ctsn = event->tsn; in sctp_ulpq_reasm()
599 if (TSN_lte(ctsn, ctsnap)) in sctp_ulpq_reasm()
611 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_first() local
628 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first()
634 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_first()
643 if (ctsn == next_tsn) { in sctp_ulpq_retrieve_first()
1031 __u32 ctsn; in sctp_ulpq_partial_delivery() local
1048 ctsn = sctp_skb2event(skb)->tsn; in sctp_ulpq_partial_delivery()
1049 if (!TSN_lte(ctsn, sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map))) in sctp_ulpq_partial_delivery()