Home | History | Annotate | Download | only in netinet

Lines Matching refs:snd_nxt

410 	else if (SEQ_LT(tp->snd_nxt, tp->snd_max)) {
612 (tp->snd_nxt - tp->snd_una));
670 if (TCP_SACK_ENABLED(tp) && SEQ_LT(tp->snd_nxt, tp->snd_max))
673 off = tp->snd_nxt - tp->snd_una;
799 (tp->snd_nxt - tp->sack_newdata) -
822 * cancel pending retransmit, pull snd_nxt back
833 * to back up snd_nxt before the FIN so that the sequence
841 tp->snd_nxt = tp->snd_una;
881 win >= (so->so_snd.sb_cc - (tp->snd_nxt - tp->snd_una))) {
937 if (SEQ_LT(tp->snd_nxt, tp->snd_max))
1070 tp->snd_nxt = tp->iss;
1325 if (len > 0 && SEQ_GEQ(tp->snd_nxt, tp->snd_max) &&
1344 * If we are doing retransmissions, then snd_nxt will
1349 * (and no SYN or FIN), use snd_max instead of snd_nxt
1352 * right edge of the window, so use snd_nxt in that
1362 th->th_seq = htonl(tp->snd_nxt);
1386 if (SEQ_GT(tp->snd_up, tp->snd_nxt)) {
1387 u_int32_t urp = tp->snd_up - tp->snd_nxt;
1465 tcp_seq startseq = tp->snd_nxt;
1468 * Advance snd_nxt over sequence space of this segment.
1473 tp->snd_nxt++;
1476 tp->snd_nxt += len;
1477 if (SEQ_GT(tp->snd_nxt, tp->snd_max)) {
1478 tp->snd_max = tp->snd_nxt;
1500 if ((sack_rxmit && tp->snd_nxt != tp->snd_max)
1501 || tp->snd_nxt != tp->snd_una) {
1519 if (SEQ_GT(tp->snd_nxt + len, tp->snd_max))
1520 tp->snd_max = tp->snd_nxt + len;