Lines Matching full:tsn
272 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
274 tsn = event->tsn; in sctp_ulpq_store_reasm()
285 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
286 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
291 /* Find the right place in this list. We store them by TSN. */ in sctp_ulpq_store_reasm()
294 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
296 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
412 /* The chunks are held in the reasm queue sorted by TSN. in sctp_ulpq_retrieve_reassembled()
427 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
509 /* The chunks are held in the reasm queue sorted by TSN. in sctp_ulpq_retrieve_partial()
524 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial()
588 /* Do not even bother unless this is the next tsn to in sctp_ulpq_reasm()
591 ctsn = event->tsn; in sctp_ulpq_reasm()
608 /* The chunks are held in the reasm queue sorted by TSN. in sctp_ulpq_retrieve_first()
622 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first()
667 * a Forward TSN.
671 * After receiving and processing a FORWARD TSN, the data receiver MUST
674 * or more TSNs earlier than or equal to the new cumulative TSN point.
683 __u32 tsn; in sctp_ulpq_reasm_flushtsn() local
690 tsn = event->tsn; in sctp_ulpq_reasm_flushtsn()
697 if (TSN_lte(tsn, fwd_tsn)) { in sctp_ulpq_reasm_flushtsn()
866 * ordered by forward tsn skipping their dependencies.
936 * Forwared TSN chunk to skip over the abandoned ordered data
962 __u32 tsn, last_tsn; in sctp_ulpq_renege_list() local
971 tsn = event->tsn; in sctp_ulpq_renege_list()
973 /* Don't renege below the Cumulative TSN ACK Point. */ in sctp_ulpq_renege_list()
974 if (TSN_lte(tsn, sctp_tsnmap_get_ctsn(tsnmap))) in sctp_ulpq_renege_list()
979 * freed space; find the last TSN. in sctp_ulpq_renege_list()
988 last_tsn = sctp_skb2event(last)->tsn; in sctp_ulpq_renege_list()
990 last_tsn = tsn; in sctp_ulpq_renege_list()
995 while (TSN_lte(tsn, last_tsn)) { in sctp_ulpq_renege_list()
996 sctp_tsnmap_renege(tsnmap, tsn); in sctp_ulpq_renege_list()
997 tsn++; in sctp_ulpq_renege_list()
1037 /* Data must be at or below the Cumulative TSN ACK Point to in sctp_ulpq_partial_delivery()
1042 ctsn = sctp_skb2event(skb)->tsn; in sctp_ulpq_partial_delivery()