Searched refs:cwnd (Results 1 – 3 of 3) sorted by relevance
333 uint32_t cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_newreno_switch_cc() local335 cwnd = cwnd / tp->t_maxseg; in tcp_newreno_switch_cc()337 cwnd = cwnd / 2 / tp->t_maxseg; in tcp_newreno_switch_cc()339 tp->snd_cwnd = max(tcp_initial_cwnd(tp), cwnd * tp->t_maxseg); in tcp_newreno_switch_cc()
628 uint32_t cwnd; in tcp_ledbat_switch_cc() local635 cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_ledbat_switch_cc()638 cwnd = cwnd / tp->t_maxseg; in tcp_ledbat_switch_cc()640 cwnd = cwnd / 2 / tp->t_maxseg; in tcp_ledbat_switch_cc()643 if (cwnd < bg_ss_fltsz) { in tcp_ledbat_switch_cc()644 cwnd = bg_ss_fltsz; in tcp_ledbat_switch_cc()647 tp->snd_cwnd = cwnd * tp->t_maxseg; in tcp_ledbat_switch_cc()
211 int cwnd = (int)(MIN(tp->snd_wnd, tp->snd_cwnd) - (so->so_snd.sb_cc)); in mptcp_subflow_cwnd_space() local213 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()