• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/netinet/

Lines Matching refs:th_seq

320 	if (th->th_seq != tp->rcv_nxt &&
343 if (SEQ_GT(q->tqe_th->th_seq, th->th_seq))
356 i = p->tqe_th->th_seq + p->tqe_len - th->th_seq;
374 th->th_seq += i;
385 register int i = (th->th_seq + *tlenp) - q->tqe_th->th_seq;
389 q->tqe_th->th_seq += i;
422 if (!q || q->tqe_th->th_seq != tp->rcv_nxt)
438 } while (q && q->tqe_th->th_seq == tp->rcv_nxt);
609 th->th_seq, th->th_ack, th->th_win);
649 th->th_seq, th->th_ack, th->th_win);
776 NTOHL(th->th_seq);
1362 SEQ_GEQ(th->th_seq, tp->last_ack_sent) &&
1363 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) {
1434 th->th_seq == tp->rcv_nxt &&
1445 SEQ_LEQ(th->th_seq, tp->last_ack_sent)) {
1570 * th_seq.
1572 tp->snd_wl1 = th->th_seq;
1591 th->th_seq, th->th_ack, th->th_win);
1598 th->th_seq, th->th_ack, th->th_win);
1763 tp->irs = th->th_seq;
1837 tp->irs = th->th_seq;
1912 * Advance th->th_seq to correspond to first data byte.
1916 th->th_seq++;
1925 tp->snd_wl1 = th->th_seq - 1;
1926 tp->rcv_up = th->th_seq;
2028 if ((SEQ_GEQ(th->th_seq, tp->last_ack_sent) &&
2029 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) ||
2031 ((tp->last_ack_sent == th->th_seq) || ((tp->last_ack_sent -1) == th->th_seq)))) {
2039 if (tp->last_ack_sent != th->th_seq) {
2111 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) {
2116 todrop = tp->rcv_nxt - th->th_seq;
2120 th->th_seq++;
2153 th->th_seq += todrop;
2179 todrop = (th->th_seq+tlen) - (tp->rcv_nxt+tp->rcv_wnd);
2192 SEQ_GT(th->th_seq, tp->rcv_nxt)) {
2205 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) {
2237 SEQ_LEQ(th->th_seq, tp->last_ack_sent) &&
2238 SEQ_LEQ(tp->last_ack_sent, th->th_seq + tlen +
2310 tp->snd_wl1 = th->th_seq - 1;
2775 (SEQ_LT(tp->snd_wl1, th->th_seq) ||
2776 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) ||
2783 tp->snd_wl1 = th->th_seq;
2820 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) {
2821 tp->rcv_up = th->th_seq + th->th_urp;
2864 tcp_seq save_start = th->th_seq;
2865 tcp_seq save_end = th->th_seq + tlen;
2879 if (th->th_seq == tp->rcv_nxt &&
2912 th->th_seq, th->th_ack, th->th_win);
2919 th->th_seq, th->th_ack, th->th_win);
3112 tcp_respond(tp, mtod(m, void *), th, m, th->th_seq+tlen,