Lines Matching refs:th_seq
1749 th->th_seq == tp->rcv_nxt && in tcp_do_segment()
1764 SEQ_LEQ(th->th_seq, tp->last_ack_sent)) { in tcp_do_segment()
1899 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
2015 tp->irs = th->th_seq; in tcp_do_segment()
2098 th->th_seq++; in tcp_do_segment()
2107 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
2108 tp->rcv_up = th->th_seq; in tcp_do_segment()
2159 if ((SEQ_GEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2160 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) || in tcp_do_segment()
2161 (tp->rcv_wnd == 0 && tp->last_ack_sent == th->th_seq)) { in tcp_do_segment()
2167 tp->last_ack_sent == th->th_seq) { in tcp_do_segment()
2206 SEQ_GEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2207 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) { in tcp_do_segment()
2257 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) { in tcp_do_segment()
2262 todrop = tp->rcv_nxt - th->th_seq; in tcp_do_segment()
2266 th->th_seq++; in tcp_do_segment()
2301 tcp_update_sack_list(tp, th->th_seq, in tcp_do_segment()
2302 th->th_seq + todrop); in tcp_do_segment()
2310 th->th_seq += todrop; in tcp_do_segment()
2343 todrop = (th->th_seq + tlen) - (tp->rcv_nxt + tp->rcv_wnd); in tcp_do_segment()
2355 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) { in tcp_do_segment()
2386 SEQ_LEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2387 SEQ_LEQ(tp->last_ack_sent, th->th_seq + tlen + in tcp_do_segment()
2474 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
3013 (SEQ_LT(tp->snd_wl1, th->th_seq) || in tcp_do_segment()
3014 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_do_segment()
3021 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
3060 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment()
3061 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment()
3105 tcp_seq save_start = th->th_seq; in tcp_do_segment()
3121 if (th->th_seq == tp->rcv_nxt && in tcp_do_segment()
3404 tcp_respond(tp, mtod(m, void *), th, m, th->th_seq+tlen, in tcp_dropwithreset()