Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_bic.c20 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation macro
170 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
171 / (2 * BICTCP_BETA_SCALE); in bictcp_recalc_ssthresh()
180 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in bictcp_recalc_ssthresh()
Dtcp_cubic.c31 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation macro
362 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
363 / (2 * BICTCP_BETA_SCALE); in bictcp_recalc_ssthresh()
369 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in bictcp_recalc_ssthresh()
491 beta_scale = 8*(BICTCP_BETA_SCALE+beta) / 3 in cubictcp_register()
492 / (BICTCP_BETA_SCALE - beta); in cubictcp_register()