Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/netinet/
H A Dtcp_cubic.c286 uint64_t incr_win = UINT32_MAX; in tcp_cubic_congestion_avd() local
321 incr_win = (uint64_t)tp->snd_cwnd * tp->t_maxseg; in tcp_cubic_congestion_avd()
322 incr_win /= (cubic_target_win - tp->snd_cwnd); in tcp_cubic_congestion_avd()
324 if (incr_win > 0 && tp->t_bytes_acked >= incr_win) { in tcp_cubic_congestion_avd()
325 tp->t_bytes_acked -= incr_win; in tcp_cubic_congestion_avd()
343 if (tcp_incr_win < incr_win) { in tcp_cubic_congestion_avd()
345 incr_win = tcp_incr_win; in tcp_cubic_congestion_avd()
349 if (incr_win > 0 && tp->t_bytes_acked >= incr_win) { in tcp_cubic_congestion_avd()
350 tp->t_bytes_acked -= incr_win; in tcp_cubic_congestion_avd()