Lines Matching defs:tsn
229 /* init tsn's */
666 * caused the problem. There are two possiblities ASCONF or FWD-TSN
2224 u_int32_t tsn;
2229 tsn = ntohl(cp->tsn);
2245 if (lchk->rec.data.TSN_seq == tsn) {
2249 if (compare_with_wrap(lchk->rec.data.TSN_seq, tsn, MAX_SEQ))
2257 if (compare_with_wrap(tsn, stcb->asoc.last_cwr_tsn, MAX_TSN)) {
2285 sctp_send_cwr(stcb, net, tsn);
2302 /* Look for and remove if it is the right TSN. Since
2308 if (compare_with_wrap(ntohl(cp->tsn), ntohl(ecne->tsn),
2309 MAX_TSN) || (cp->tsn == ecne->tsn)) {
2376 /* find the tsn to resend (possibly */
2378 u_int32_t tsn;
2380 tsn = ntohl(desc->tsn_ifany);
2383 if (tp1->rec.data.TSN_seq == tsn) {
2387 if (compare_with_wrap(tp1->rec.data.TSN_seq, tsn,
2400 if (tp1->rec.data.TSN_seq == tsn) {
2457 * mark the tsn with what sequences can cause a new FR.
2674 uint32_t seq, tsn;
2683 tsn = ntohl(resp->reset_at_tsn);
2685 tsn--;
2686 if ((tsn == stcb->asoc.cumulative_tsn) ||
2687 (compare_with_wrap(stcb->asoc.cumulative_tsn, tsn, MAX_TSN))) {
2741 * next sending TSN is NOT equal to 1 minus our cumack?
2852 /* can we get out the tsn? */
2866 desc.tsn_ifany = dcp->dp.tsn;
3638 printf("SCTP_FWD-TSN\n");