Home
last modified time | relevance | path

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

/xnu-8020.121.3/bsd/netinet/
H A Dtcp_newreno.c333 uint32_t cwnd = min(tp->snd_wnd, tp->snd_cwnd); in tcp_newreno_switch_cc() local
335 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()
H A Dtcp_ledbat.c628 uint32_t cwnd; in tcp_ledbat_switch_cc() local
635 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()
H A Dmptcp_var.h211 int cwnd = (int)(MIN(tp->snd_wnd, tp->snd_cwnd) - (so->so_snd.sb_cc)); in mptcp_subflow_cwnd_space() local
213 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()