Searched refs:cwnd (Results 1 – 4 of 4) sorted by relevance
336 uint32_t cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_newreno_switch_cc() local338 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()
559 uint32_t cwnd; in tcp_ledbat_switch_cc() local567 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()
136 int32_t cwnd = (int32_t)((float)tp->t_ccstate->cubic_origin_point + var); in cubic_target() local137 uint32_t w_cubic_next = cwnd > 0 ? (uint32_t)cwnd : 0; in cubic_target()
214 int cwnd = (int)(MIN(tp->snd_wnd, tp->snd_cwnd) - (so->so_snd.sb_cc)); in mptcp_subflow_cwnd_space() local216 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()