Lines Matching refs:ctsn
233 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
246 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
247 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
255 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
257 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
355 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_reassembled() local
375 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
380 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_reassembled()
384 if ((first_frag) && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled()
391 if (first_frag && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled()
413 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_partial() local
432 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial()
438 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_partial()
440 } else if (next_tsn == ctsn) in sctp_ulpq_retrieve_partial()
448 else if (ctsn != next_tsn) in sctp_ulpq_retrieve_partial()
488 __u32 ctsn, ctsnap; in sctp_ulpq_reasm() local
493 ctsn = event->tsn; in sctp_ulpq_reasm()
495 if (TSN_lte(ctsn, ctsnap)) in sctp_ulpq_reasm()
507 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_first() local
524 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first()
530 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_first()
539 if (ctsn == next_tsn) { in sctp_ulpq_retrieve_first()