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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dtcp_bic.c52 u32 last_max_cwnd; /* last maximum snd_cwnd */ member in struct:bictcp
64 ca->last_max_cwnd = 0;
101 if (cwnd < ca->last_max_cwnd) {
102 __u32 dist = (ca->last_max_cwnd - cwnd)
116 if (cwnd < ca->last_max_cwnd + BICTCP_B)
119 else if (cwnd < ca->last_max_cwnd + max_increment*(BICTCP_B-1))
122 / (cwnd - ca->last_max_cwnd);
178 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence)
179 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta))
182 ca->last_max_cwnd
[all...]
H A Dtcp_cubic.c57 u32 last_max_cwnd; /* last maximum snd_cwnd */ member in struct:bictcp
74 ca->last_max_cwnd = 0;
164 if (ca->last_max_cwnd <= cwnd) {
172 * (ca->last_max_cwnd - cwnd));
173 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 56 milliseconds