Searched refs:BICTCP_BETA_SCALE (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/net/ipv4/
H A Dtcp_bic.c20 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation macro
31 static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */
170 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) bictcp_recalc_ssthresh()
171 / (2 * BICTCP_BETA_SCALE); bictcp_recalc_ssthresh()
180 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); bictcp_recalc_ssthresh()
H A Dtcp_cubic.c31 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation macro
47 static int beta __read_mostly = 717; /* = 717/1024 (BICTCP_BETA_SCALE) */
364 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) bictcp_recalc_ssthresh()
365 / (2 * BICTCP_BETA_SCALE); bictcp_recalc_ssthresh()
371 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); bictcp_recalc_ssthresh()
488 beta_scale = 8*(BICTCP_BETA_SCALE+beta) / 3 cubictcp_register()
489 / (BICTCP_BETA_SCALE - beta); cubictcp_register()

Completed in 82 milliseconds