Lines Matching refs:th_seq
74 KASSERT(SEQ_GEQ(th->th_seq, tp->rcv_nxt), ("Adding past segment to the reassembly queue")); in tcp_reass()
75 offset = (size_t) (th->th_seq - tp->rcv_nxt); in tcp_reass()
162 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) &&
184 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) {
213 if (SEQ_GT(q->tqe_th->th_seq, th->th_seq))
226 i = p->tqe_th->th_seq + p->tqe_len - th->th_seq;
245 th->th_seq += i;
257 int i = (th->th_seq + *tlenp) - q->tqe_th->th_seq;
261 q->tqe_th->th_seq += i;
296 if (!q || q->tqe_th->th_seq != tp->rcv_nxt)
312 } while (q && q->tqe_th->th_seq == tp->rcv_nxt);