Lines Matching defs:tsn
180 sctp_build_ctl_nchunk(struct sctp_tcb *stcb, uint32_t tsn, uint32_t ppid,
213 outinfo->sinfo_tsn = tsn;
1006 u_int32_t tsn;
1018 tsn = chk->rec.data.TSN_seq;
1020 if (tsn != chk->rec.data.TSN_seq) {
1027 tsn++;
1672 u_int32_t tsn, gap;
1679 tsn = ntohl(ch->dp.tsn);
1681 sctp_log_map(0, tsn, asoc->cumulative_tsn, SCTP_MAP_PREPARE_SLIDE);
1683 if (compare_with_wrap(asoc->cumulative_tsn, tsn, MAX_TSN) ||
1684 asoc->cumulative_tsn == tsn) {
1689 asoc->dup_tsns[asoc->numduptsns] = tsn;
1695 if (tsn >= asoc->mapping_array_base_tsn) {
1696 gap = tsn - asoc->mapping_array_base_tsn;
1698 gap = (MAX_TSN - asoc->mapping_array_base_tsn) + tsn + 1;
1710 if (compare_with_wrap(tsn, *high_tsn, MAX_TSN)) {
1711 *high_tsn = tsn;
1718 asoc->dup_tsns[asoc->numduptsns] = tsn;
1768 if (compare_with_wrap(tsn,
1774 printf("My rwnd overrun1:tsn:%lx rwnd %lu sbspace:%ld delq:%d!\n",
1775 (u_long)tsn, (u_long)asoc->my_rwnd,
1915 control = sctp_build_ctl_nchunk(stcb, tsn,
1967 if (compare_with_wrap(tsn, asoc->highest_tsn_inside_map, MAX_TSN)) {
1969 asoc->highest_tsn_inside_map = tsn;
2003 sctp_log_strm_del_alt(tsn, strmseq,
2028 chk->rec.data.TSN_seq = tsn;
2161 ((compare_with_wrap(tsn, ntohl(asoc->pending_reply->reset_at_tsn), MAX_TSN)) ||
2162 (tsn == ntohl(asoc->pending_reply->reset_at_tsn)))
2180 if (compare_with_wrap(tsn, asoc->highest_tsn_inside_map, MAX_TSN)) {
2182 asoc->highest_tsn_inside_map = tsn;
2194 sctp_log_strm_del_alt(tsn, strmseq, SCTP_STR_LOG_FROM_MARK_TSN);
2256 panic("huh, cumack greater than high-tsn in map");
2993 /* we are beyond the tsn in the sack */
3035 * tsn... otherwise we CAN strike the TSN.
3208 * We can't fwd-tsn past any that are reliable
3292 * tsn on sent queue.
4132 /* ECN Nonce: Disable Nonce Sum check when FWD TSN is sent and store resync tsn*/
4184 /* Disable Nonce Sum Checking and store the resync tsn*/
4291 * sacked after fwd-tsn sent.
4403 /* The pr-sctp fwd tsn */
4429 printf("Bad size too small/big fwd-tsn\n");
4500 * fwd-tsn went outside my gap array - not a
4593 * fwd-tsn's mark. Some checks...
4597 /* Special case PD-API is up and what we fwd-tsn'