Searched refs:cw (Results 1 - 2 of 2) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dtcp_newreno.c179 register u_int cw = tp->snd_cwnd; local
186 if (cw >= tp->snd_ssthresh) {
188 if (tp->t_bytes_acked >= cw) {
190 tp->t_bytes_acked -= cw;
218 if (cw >= tp->snd_ssthresh)
219 incr = max((incr * incr / cw), 1);
221 tp->snd_cwnd = min(cw+incr, TCP_MAXWIN<<tp->snd_scale);
H A Dtcp_ledbat.c255 register u_int cw = tp->snd_cwnd; local
261 if (cw >= tp->bg_ssthresh) {
263 if (tp->t_bytes_acked < cw) {
282 if (tp->t_bytes_acked >= cw)
283 tp->t_bytes_acked -= cw;

Completed in 20 milliseconds