Lines Matching refs:th_seq

1750 	    th->th_seq == tp->rcv_nxt &&  in tcp_do_segment()
1765 SEQ_LEQ(th->th_seq, tp->last_ack_sent)) { in tcp_do_segment()
1911 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
2029 tp->irs = th->th_seq; in tcp_do_segment()
2109 th->th_seq++; in tcp_do_segment()
2118 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
2119 tp->rcv_up = th->th_seq; in tcp_do_segment()
2160 if ((SEQ_GEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2161 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) || in tcp_do_segment()
2162 (tp->rcv_wnd == 0 && tp->last_ack_sent == th->th_seq)) { in tcp_do_segment()
2168 tp->last_ack_sent == th->th_seq) { in tcp_do_segment()
2205 SEQ_GEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2206 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) { in tcp_do_segment()
2255 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) { in tcp_do_segment()
2261 todrop = tp->rcv_nxt - th->th_seq; in tcp_do_segment()
2265 th->th_seq++; in tcp_do_segment()
2300 tcp_update_sack_list(tp, th->th_seq, in tcp_do_segment()
2301 th->th_seq + todrop); in tcp_do_segment()
2309 th->th_seq += todrop; in tcp_do_segment()
2346 todrop = (th->th_seq + tlen) - (tp->rcv_nxt + tp->rcv_wnd); in tcp_do_segment()
2358 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) { in tcp_do_segment()
2389 SEQ_LEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2390 SEQ_LEQ(tp->last_ack_sent, th->th_seq + tlen + in tcp_do_segment()
2528 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
3097 (SEQ_LT(tp->snd_wl1, th->th_seq) || in tcp_do_segment()
3098 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_do_segment()
3105 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
3144 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment()
3145 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment()
3189 tcp_seq save_start = th->th_seq; in tcp_do_segment()
3205 if (th->th_seq == tp->rcv_nxt && in tcp_do_segment()
3501 tcp_respond(tp, mtod(m, void *), th, m, th->th_seq+tlen, in tcp_dropwithreset()