Lines Matching refs:snd_nxt

242 	    (tp->snd_nxt != tp->snd_una))       /* not a retransmit */  in tcp_default_output()
277 off = tp->snd_nxt - tp->snd_una; in tcp_default_output()
295 (SEQ_LT(tp->snd_nxt, tp->snd_max) && (tp->t_dupacks >= tcprexmtthresh))) && in tcp_default_output()
416 if ((sack_bytes_rxmt == 0) || SEQ_LT(tp->snd_nxt, tp->snd_max)) { in tcp_default_output()
435 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_default_output()
505 tp->snd_nxt = tp->snd_una; in tcp_default_output()
570 if (SEQ_LT((sack_rxmit ? p->rxmit : tp->snd_nxt) + len, in tcp_default_output()
624 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) /* retransmit case */ in tcp_default_output()
714 ((tp->t_flags & TF_SENTFIN) == 0 || tp->snd_nxt == tp->snd_una)) in tcp_default_output()
788 tp->snd_nxt = tp->iss; in tcp_default_output()
1030 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) in tcp_default_output()
1037 } else if (SEQ_LT(tp->snd_nxt, tp->snd_max) || sack_rxmit) { in tcp_default_output()
1085 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) in tcp_default_output()
1091 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) in tcp_default_output()
1196 tp->snd_nxt == tp->snd_max) in tcp_default_output()
1197 tp->snd_nxt--; in tcp_default_output()
1243 th->th_seq = htonl(tp->snd_nxt); in tcp_default_output()
1314 if (SEQ_GT(tp->snd_up, tp->snd_nxt)) { in tcp_default_output()
1315 th->th_urp = htons((u_short)(tp->snd_up - tp->snd_nxt)); in tcp_default_output()
1534 tcp_account_for_send(tp, len, (tp->snd_nxt != tp->snd_max), 0, hw_tls); in tcp_default_output()
1545 tcp_seq startseq = tp->snd_nxt; in tcp_default_output()
1552 tp->snd_nxt++; in tcp_default_output()
1554 tp->snd_nxt++; in tcp_default_output()
1560 tp->snd_nxt += len; in tcp_default_output()
1561 if (SEQ_GT(tp->snd_nxt, tp->snd_max)) { in tcp_default_output()
1568 tp->snd_max = tp->snd_nxt; in tcp_default_output()
1600 ((sack_rxmit && tp->snd_nxt != tp->snd_max) || in tcp_default_output()
1601 (tp->snd_nxt != tp->snd_una))) { in tcp_default_output()
1644 if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max)) in tcp_default_output()
1645 tp->snd_max = tp->snd_nxt + xlen; in tcp_default_output()
1656 SEQ_LT(tp->snd_nxt, SEQ_MIN(p->rxmit, p->end))) { in tcp_default_output()
1661 tp->snd_nxt = SEQ_MIN(p->rxmit, p->end); in tcp_default_output()
1689 tp->snd_nxt -= len; in tcp_default_output()
1691 tp->snd_nxt--; in tcp_default_output()
2184 (tp->snd_nxt - tp->snd_una))) { in tcp_sndbuf_autoscale()