Searched refs:BICTCP_BETA_SCALE (Results 1 – 2 of 2) sorted by relevance
21 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation macro 32 static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */170 ca->last_max_cwnd = (tcp_snd_cwnd(tp) * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh() 171 / (2 * BICTCP_BETA_SCALE); in bictcp_recalc_ssthresh() 178 return max((tcp_snd_cwnd(tp) * beta) / BICTCP_BETA_SCALE, 2U); in bictcp_recalc_ssthresh()
28 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation macro55 static const __u32 beta_scale = 8*(BICTCP_BETA_SCALE+beta) / 356 / (BICTCP_BETA_SCALE - beta);419 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in BPF_PROG()420 / (2 * BICTCP_BETA_SCALE); in BPF_PROG()424 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in BPF_PROG()