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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dtcp_bic.c53 u32 last_max_cwnd; /* last maximum snd_cwnd */ member in struct:bictcp
65 ca->last_max_cwnd = 0;
102 if (cwnd < ca->last_max_cwnd) {
103 __u32 dist = (ca->last_max_cwnd - cwnd)
117 if (cwnd < ca->last_max_cwnd + BICTCP_B)
120 else if (cwnd < ca->last_max_cwnd + max_increment*(BICTCP_B-1))
123 / (cwnd - ca->last_max_cwnd);
169 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence)
170 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta))
173 ca->last_max_cwnd
[all...]
H A Dtcp_cubic.c82 u32 last_max_cwnd; /* last maximum snd_cwnd */ member in struct:bictcp
105 ca->last_max_cwnd = 0;
211 if (ca->last_max_cwnd <= cwnd) {
219 * (ca->last_max_cwnd - cwnd));
220 ca->bic_origin_point = ca->last_max_cwnd;
310 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence)
311 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta))
314 ca->last_max_cwnd = tp->snd_cwnd;
325 return max(tcp_sk(sk)->snd_cwnd, ca->last_max_cwnd);

Completed in 65 milliseconds