Searched refs:cwnd (Results 1 – 4 of 4) sorted by relevance
326 uint32_t cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_newreno_switch_cc() local328 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()
557 uint32_t cwnd; in tcp_ledbat_switch_cc() local565 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()
142 int32_t cwnd = (int32_t)((float)tp->t_ccstate->cubic_origin_point + var); in cubic_target() local143 uint32_t w_cubic_next = cwnd > 0 ? (uint32_t)cwnd : 0; in cubic_target()
212 int cwnd = (int)(MIN(tp->snd_wnd, tp->snd_cwnd) - (so->so_snd.sb_cc)); in mptcp_subflow_cwnd_space() local214 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()