Home
last modified time | relevance | path

Searched refs:cwnd (Results 1 – 4 of 4) sorted by relevance

/xnu-11215.81.4/bsd/netinet/
H A Dtcp_newreno.c326 uint32_t cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_newreno_switch_cc() local
328 cwnd = cwnd / tp->t_maxseg; in tcp_newreno_switch_cc()
330 cwnd = cwnd / 2 / tp->t_maxseg; in tcp_newreno_switch_cc()
332 tp->snd_cwnd = max(tcp_initial_cwnd(tp), cwnd * tp->t_maxseg); in tcp_newreno_switch_cc()
H A Dtcp_ledbat.c557 uint32_t cwnd; in tcp_ledbat_switch_cc() local
565 cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_ledbat_switch_cc()
568 cwnd = cwnd / tp->t_maxseg; in tcp_ledbat_switch_cc()
570 cwnd = cwnd / 2 / tp->t_maxseg; in tcp_ledbat_switch_cc()
573 if (cwnd < bg_ss_fltsz) { in tcp_ledbat_switch_cc()
574 cwnd = bg_ss_fltsz; in tcp_ledbat_switch_cc()
577 tp->snd_cwnd = cwnd * tp->t_maxseg; in tcp_ledbat_switch_cc()
H A Dtcp_prague.c142 int32_t cwnd = (int32_t)((float)tp->t_ccstate->cubic_origin_point + var); in cubic_target() local
143 uint32_t w_cubic_next = cwnd > 0 ? (uint32_t)cwnd : 0; in cubic_target()
H A Dmptcp_var.h212 int cwnd = (int)(MIN(tp->snd_wnd, tp->snd_cwnd) - (so->so_snd.sb_cc)); in mptcp_subflow_cwnd_space() local
214 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()