Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/netinet/
H A Dtcp_newreno.c336 uint32_t cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_newreno_switch_cc() local
338 cwnd = cwnd / tp->t_maxseg; in tcp_newreno_switch_cc()
340 cwnd = cwnd / 2 / tp->t_maxseg; in tcp_newreno_switch_cc()
342 tp->snd_cwnd = max(tcp_initial_cwnd(tp), cwnd * tp->t_maxseg); in tcp_newreno_switch_cc()
H A Dtcp_ledbat.c559 uint32_t cwnd; in tcp_ledbat_switch_cc() local
567 cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_ledbat_switch_cc()
570 cwnd = cwnd / tp->t_maxseg; in tcp_ledbat_switch_cc()
572 cwnd = cwnd / 2 / tp->t_maxseg; in tcp_ledbat_switch_cc()
575 if (cwnd < bg_ss_fltsz) { in tcp_ledbat_switch_cc()
576 cwnd = bg_ss_fltsz; in tcp_ledbat_switch_cc()
579 tp->snd_cwnd = cwnd * tp->t_maxseg; in tcp_ledbat_switch_cc()
H A Dtcp_prague.c136 int32_t cwnd = (int32_t)((float)tp->t_ccstate->cubic_origin_point + var); in cubic_target() local
137 uint32_t w_cubic_next = cwnd > 0 ? (uint32_t)cwnd : 0; in cubic_target()
H A Dmptcp_var.h214 int cwnd = (int)(MIN(tp->snd_wnd, tp->snd_cwnd) - (so->so_snd.sb_cc)); in mptcp_subflow_cwnd_space() local
216 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()