Lines Matching refs:th_seq
1736 th->th_seq == tp->rcv_nxt && in tcp_do_segment()
1752 SEQ_LEQ(th->th_seq, tp->last_ack_sent)) { in tcp_do_segment()
1878 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
1995 tp->irs = th->th_seq; in tcp_do_segment()
2079 th->th_seq++; in tcp_do_segment()
2088 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
2089 tp->rcv_up = th->th_seq; in tcp_do_segment()
2140 if ((SEQ_GEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2141 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) || in tcp_do_segment()
2142 (tp->rcv_wnd == 0 && tp->last_ack_sent == th->th_seq)) { in tcp_do_segment()
2150 tp->last_ack_sent == th->th_seq) { in tcp_do_segment()
2191 SEQ_GEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2192 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) { in tcp_do_segment()
2243 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) { in tcp_do_segment()
2248 todrop = tp->rcv_nxt - th->th_seq; in tcp_do_segment()
2252 th->th_seq++; in tcp_do_segment()
2287 tcp_update_sack_list(tp, th->th_seq, in tcp_do_segment()
2288 th->th_seq + todrop); in tcp_do_segment()
2296 th->th_seq += todrop; in tcp_do_segment()
2331 todrop = (th->th_seq + tlen) - (tp->rcv_nxt + tp->rcv_wnd); in tcp_do_segment()
2343 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) { in tcp_do_segment()
2374 SEQ_LEQ(th->th_seq, tp->last_ack_sent) && in tcp_do_segment()
2375 SEQ_LEQ(tp->last_ack_sent, th->th_seq + tlen + in tcp_do_segment()
2462 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
2930 (SEQ_LT(tp->snd_wl1, th->th_seq) || in tcp_do_segment()
2931 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_do_segment()
2938 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
2977 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment()
2978 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment()
3022 tcp_seq save_start = th->th_seq; in tcp_do_segment()
3038 if (th->th_seq == tp->rcv_nxt && in tcp_do_segment()
3308 tcp_respond(tp, mtod(m, void *), th, m, th->th_seq+tlen, in tcp_dropwithreset()