Lines Matching refs:ti_seq
69 if ((ti)->ti_seq == (tp)->rcv_nxt && \
92 if ((ti)->ti_seq == (tp)->rcv_nxt && \
135 if (SEQ_GT(q->ti_seq, ti->ti_seq))
147 i = q->ti_seq + q->ti_len - ti->ti_seq;
163 ti->ti_seq += i;
176 register int i = (ti->ti_seq + ti->ti_len) - q->ti_seq;
180 q->ti_seq += i;
204 if (tcpfrag_list_end(ti, tp) || ti->ti_seq != tp->rcv_nxt)
223 } while (ti != (struct tcpiphdr *)tp && ti->ti_seq == tp->rcv_nxt);
350 NTOHL(ti->ti_seq);
496 ti->ti_seq == tp->rcv_nxt &&
503 /* if (ts_present && SEQ_LEQ(ti->ti_seq, tp->last_ack_sent) &&
504 * SEQ_LT(tp->last_ack_sent, ti->ti_seq + ti->ti_len)) {
683 tcp_respond(tp, ti, m, ti->ti_seq+1, (tcp_seq)0,
687 HTONL(ti->ti_seq); /* restore tcp header */
733 tp->irs = ti->ti_seq;
776 tp->irs = ti->ti_seq;
804 * Advance ti->ti_seq to correspond to first data byte.
808 ti->ti_seq++;
817 tp->snd_wl1 = ti->ti_seq - 1;
818 tp->rcv_up = ti->ti_seq;
857 todrop = tp->rcv_nxt - ti->ti_seq;
861 ti->ti_seq++;
893 ti->ti_seq += todrop;
917 todrop = (ti->ti_seq+ti->ti_len) - (tp->rcv_nxt+tp->rcv_wnd);
930 SEQ_GT(ti->ti_seq, tp->rcv_nxt)) {
942 if (tp->rcv_wnd == 0 && ti->ti_seq == tp->rcv_nxt) {
958 /* if (ts_present && SEQ_LEQ(ti->ti_seq, tp->last_ack_sent) &&
959 * SEQ_LT(tp->last_ack_sent, ti->ti_seq + ti->ti_len +
1062 tp->snd_wl1 = ti->ti_seq - 1;
1291 (SEQ_LT(tp->snd_wl1, ti->ti_seq) ||
1292 (tp->snd_wl1 == ti->ti_seq && (SEQ_LT(tp->snd_wl2, ti->ti_ack) ||
1299 tp->snd_wl1 = ti->ti_seq;
1336 if (SEQ_GT(ti->ti_seq+ti->ti_urp, tp->rcv_up)) {
1337 tp->rcv_up = ti->ti_seq + ti->ti_urp;
1340 tp->rcv_up = ti->ti_seq + ti->ti_urp;
1484 tcp_respond(tp, ti, m, ti->ti_seq+ti->ti_len, (tcp_seq)0,