Searched refs:snd_cwnd (Results 1 - 11 of 11) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_ledbat.c150 tp->snd_cwnd += incr;
166 if (tp->bg_ssthresh < tp->snd_cwnd)
167 tp->bg_ssthresh = tp->snd_cwnd;
168 tp->snd_cwnd += incr;
177 redwin = tp->snd_cwnd >> 3;
178 tp->snd_cwnd -= redwin;
179 if (tp->snd_cwnd < bg_ss_fltsz * tp->t_maxseg)
180 tp->snd_cwnd = bg_ss_fltsz * tp->t_maxseg;
185 if (tp->bg_ssthresh > tp->snd_cwnd)
186 tp->bg_ssthresh = tp->snd_cwnd;
[all...]
H A Dtcp_newreno.c178 tp->snd_cwnd = tp->t_maxseg * ss_fltsz_local;
188 tp->snd_cwnd = min(4 * tp->t_maxseg, max(2 * tp->t_maxseg, 4380));
191 tp->snd_cwnd = tp->t_maxseg * ss_fltsz;
207 if (tp->snd_cwnd < tp->snd_wnd) {
209 if (tp->t_bytes_acked > tp->snd_cwnd) {
210 tp->t_bytes_acked -= tp->snd_cwnd;
211 tp->snd_cwnd += tp->t_maxseg;
232 register u_int cw = tp->snd_cwnd;
274 tp->snd_cwnd = min(cw+incr, TCP_MAXWIN<<tp->snd_scale);
282 win = min(tp->snd_wnd, tp->snd_cwnd) /
[all...]
H A Dtcp_sack.c526 * is received, force snd_cwnd to a value that will allow
545 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit +
548 if (tp->snd_cwnd > tp->snd_ssthresh)
549 tp->snd_cwnd = tp->snd_ssthresh;
H A Dtcp_input.c750 tp->snd_cwnd = tp->snd_ssthresh +
2257 tp->snd_cwnd >= tp->snd_ssthresh &&
2272 tp->snd_cwnd = tp->snd_cwnd_prev;
3248 tp->snd_cwnd += tp->t_maxseg;
3249 if (tp->snd_cwnd > tp->snd_ssthresh)
3250 tp->snd_cwnd = tp->snd_ssthresh;
3253 tp->snd_cwnd += tp->t_maxseg;
3301 tp->snd_cwnd = tp->t_maxseg;
3311 tp->snd_cwnd = tp->t_maxseg;
3313 tp->snd_cwnd
[all...]
H A Dtcp_var.h251 u_int32_t snd_cwnd; /* congestion-controlled window */ member in struct:tcpcb
252 u_int32_t snd_ssthresh; /* snd_cwnd size threshold for
571 u_int32_t snd_cwnd; /* congestion-controlled window */ member in struct:otcpcb
572 u_int32_t snd_ssthresh; /* snd_cwnd size threshold for
809 u_int32_t snd_cwnd; /* congestion-controlled window */ member in struct:xtcpcb64
810 u_int32_t snd_ssthresh; /* snd_cwnd size threshold for
892 u_int32_t snd_cwnd; /* congestion-controlled window */ member in struct:xtcpcb_n
893 u_int32_t snd_ssthresh; /* snd_cwnd size threshold for
H A Din_pcblist.c222 xt->snd_cwnd = tp->snd_cwnd;
H A Dtcp_output.c466 sendwin = min(tp->snd_wnd, tp->snd_cwnd);
475 * If we retransmit in fast recovery mode, decrement snd_cwnd, since
477 * now, and we previously incremented snd_cwnd in tcp_input().
490 cwin = min(tp->snd_wnd, tp->snd_cwnd) - sack_bytes_rxmt;
617 cwin = tp->snd_cwnd -
1844 (tp->snd_cwnd <= (tp->snd_wnd / 8)) ||
1925 tp->snd_cwnd = tp->t_maxseg;
H A Dtcp_subr.c877 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT;
1335 otp->snd_cwnd = tp->snd_cwnd;
1521 otp->snd_cwnd = tp->snd_cwnd;
H A Dtcp_timer.c624 tp->snd_cwnd_prev = tp->snd_cwnd;
H A Dtcp_usrreq.c1154 ti->tcpi_snd_cwnd = tp->snd_cwnd;
/darwin-on-arm/xnu/bsd/net/
H A Dntstat.c1028 desc->txcwindow = tp->snd_cwnd;

Completed in 65 milliseconds