Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_htcp.c27 u8 beta; /* Fixed point arith, << 7 */ member
79 return max(tp->snd_cwnd, (tp->snd_ssthresh << 7) / ca->beta); in htcp_cwnd_undo()
155 ca->beta = BETA_MIN; in htcp_beta_update()
162 ca->beta = (minRTT << 7) / maxRTT; in htcp_beta_update()
163 if (ca->beta < BETA_MIN) in htcp_beta_update()
164 ca->beta = BETA_MIN; in htcp_beta_update()
165 else if (ca->beta > BETA_MAX) in htcp_beta_update()
166 ca->beta = BETA_MAX; in htcp_beta_update()
168 ca->beta = BETA_MIN; in htcp_beta_update()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
[all …]
Dtcp_illinois.c51 u32 beta; /* Muliplicative decrease */ member
74 ca->beta = BETA_BASE; in tcp_illinois_init()
191 static u32 beta(u32 da, u32 dm) in beta() function
228 ca->beta = BETA_BASE; in update_params()
234 ca->beta = beta(da, dm); in update_params()
249 ca->beta = BETA_BASE; in tcp_illinois_state()
300 return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->beta) >> BETA_SHIFT), 2U); in tcp_illinois_ssthresh()
Dtcp_bic.c32 static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */ variable
42 module_param(beta, int, 0644);
43 MODULE_PARM_DESC(beta, "beta for multiplicative increase");
179 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
190 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in bictcp_recalc_ssthresh()
Dtcp_cubic.c47 static int beta __read_mostly = 717; /* = 717/1024 (BICTCP_BETA_SCALE) */
63 module_param(beta, int, 0644);
64 MODULE_PARM_DESC(beta, "beta for multiplicative increase");
320 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
327 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in bictcp_recalc_ssthresh()
436 beta_scale = 8*(BICTCP_BETA_SCALE+beta)/ 3 / (BICTCP_BETA_SCALE - beta); in cubictcp_register()
Dtcp_vegas.c44 static int beta = 4; variable
49 module_param(beta, int, 0644);
50 MODULE_PARM_DESC(beta, "upper bound of packets in network");
248 if (diff > beta) { in tcp_vegas_cong_avoid()
Dtcp_veno.c23 static const int beta = 3 << V_PARAM_SHIFT; variable
158 if (veno->diff < beta) { in tcp_veno_cong_avoid()
202 if (veno->diff < beta) in tcp_veno_ssthresh()
DKconfig481 modeswitch to change the alpha and beta parameters of TCP Reno
571 adjust the alpha and beta parameters to achieve a higher average