Lines Matching defs:snd_max
580 if (SEQ_LT(tp->snd_una, tp->snd_max) ||
625 ((tp->snd_max - tp->snd_una) == 1) &&
985 (tp->snd_max == tp->snd_una)) {
992 ((tp->snd_max - tp->snd_una) == 1) &&
1006 } else if (SEQ_GT(tp->snd_max, tp->snd_una) &&
1023 if (SEQ_GT(tp->snd_max, tp->snd_una) &&
3919 tp->snd_recover = tp->snd_max;
4593 bbr->r_ctl.rc_last_tlp_seq = tp->snd_max;
4762 tp->snd_una == tp->snd_max) {
4893 * we sent more data beyond the snd_max.
4957 (tp->snd_una == tp->snd_max)) {
5168 tp->snd_recover = tp->snd_max;
5878 register uint32_t snd_max, snd_una;
5899 * We don't log errors -- we could but snd_max does not
5916 * snd_max. This means we can record one extra byte on a SYN
5937 snd_max = tp->snd_max;
5944 if (seq_out == snd_max) {
5975 * Here we must also add in this rsm since snd_max
6067 if (seq_out == tp->snd_max) {
6069 } else if (SEQ_LT(seq_out, tp->snd_max)) {
6071 printf("seq_out:%u len:%d snd_una:%u snd_max:%u -- but rsm not found?\n",
6072 seq_out, len, tp->snd_una, tp->snd_max);
6088 panic("seq_out:%u(%d) is beyond snd_max:%u tp:%p",
6089 seq_out, len, tp->snd_max, tp);
7001 if (nrsm && (nrsm->r_end + 1) == tp->snd_max) {
7363 panic("No rack map tp:%p for th:%p state:%d bbr:%p snd_una:%u snd_max:%u chg:%d\n",
7366 tp->snd_una, tp->snd_max, changed);
7508 last_seq = tp->snd_max;
7522 SEQ_LT(sack.start, tp->snd_max) &&
7524 SEQ_LEQ(sack.end, tp->snd_max)) {
7732 if (SEQ_GT(th->th_ack, tp->snd_max)) {
7821 (SEQ_LT(th->th_ack, tp->snd_max))) {
7830 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) {
7831 tp->snd_nxt = tp->snd_max;
7833 if (tp->snd_una == tp->snd_max) {
8193 (tp->snd_max == tp->snd_una) &&
8573 if (__predict_false(SEQ_GT(th->th_ack, tp->snd_max))) {
8633 (tp->snd_max == tp->snd_una) &&
8708 if (tp->snd_una == tp->snd_max) {
8764 SEQ_GT(th->th_ack, tp->snd_max))) {
8806 (tp->snd_una != tp->snd_max)) {
8966 SEQ_GT(th->th_ack, tp->snd_max))) {
10083 if (tp->snd_una != tp->snd_max) {
10098 rsm->r_end = tp->snd_max;
10236 tp->snd_nxt = tp->snd_max;
10912 if ((bbr->rc_tp->snd_una == bbr->rc_tp->snd_max) &&
11244 if ((bbr->rc_tp->snd_una == bbr->rc_tp->snd_max) &&
11511 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) {
11558 (SEQ_GT(tp->snd_max, tp->snd_una) ||
11566 if ((tp->snd_max == tp->snd_una) &&
11926 (tp->snd_max - tp->snd_una))) {
12038 if ((tp->snd_una == tp->snd_max) &&
12082 SEQ_GT(tp->snd_max, tp->snd_una) && /* initial SYN or SYN|ACK sent */
12096 * If we've recently taken a timeout, snd_max will be greater than
12097 * snd_max. BBR in general does not pay much attention to snd_nxt
12101 * end of this routine we pull snd_nxt always up to snd_max.
12112 sb_offset = tp->snd_max - tp->snd_una;
12286 * If snd_nxt == snd_max and we have transmitted a FIN, the
12290 * fast-retransmit because TCP will reset snd_nxt to snd_max after
12304 if (SEQ_GT(tp->snd_max, tp->snd_una))
12305 sb_offset = tp->snd_max - tp->snd_una;
12391 SEQ_GT(tp->snd_max, tp->snd_una)) {
12460 (tp->snd_una == tp->snd_max) &&
12487 if (tp->snd_max == tp->snd_una)
12633 if ((tp->snd_una == tp->snd_max) && len) { /* Nothing outstanding */
12715 (tp->snd_max == tp->snd_una) &&
12758 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) {
12760 tp->snd_nxt = tp->snd_max;
12811 if ((tp->snd_una == tp->snd_max) &&
13294 * SYN or FIN), use snd_max instead of snd_nxt when filling in
13295 * ti_seq. But if we are in persist state, snd_max might reflect
13303 th->th_seq = htonl(tp->snd_max);
13304 bbr_seq = tp->snd_max;
13313 * snd_max
13315 th->th_seq = (htonl(tp->snd_max - 1));
13316 bbr_seq = (tp->snd_max - 1);
13318 /* First time FIN use snd_max */
13319 th->th_seq = htonl(tp->snd_max);
13320 bbr_seq = tp->snd_max;
13324 * len == 0 and not persist we use snd_max, sending
13336 th->th_seq = htonl(tp->snd_max - 1);
13337 bbr_seq = (tp->snd_max - 1);
13339 th->th_seq = htonl(tp->snd_max);
13340 bbr_seq = tp->snd_max;
13614 * retransmit. In persist state, just set snd_max.
13631 if (tp->snd_una == tp->snd_max) {
13664 if (tp->snd_una == tp->snd_max)
13685 if (tp->snd_una == tp->snd_max &&
13697 * Smack the snd_max to iss + 1
13700 tp->snd_max = tp->iss + 1;
13703 tp->snd_max++;
13708 tp->snd_max += len;
13725 if (xlen && (tp->snd_una == tp->snd_max)) {
13734 tp->snd_max += xlen;
13970 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) {
13972 tp->snd_nxt = tp->snd_max;
14024 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) {
14026 tp->snd_nxt = tp->snd_max;