Searched refs:wmax_pkts (Results 1 – 1 of 1) sorted by relevance
149 theoretical_cubic_k(double wmax_pkts) in theoretical_cubic_k() argument155 return (pow((wmax_pkts * 0.3) / C, (1.0 / 3.0)) * pow(2, CUBIC_SHIFT)); in theoretical_cubic_k()161 double C, wmax_pkts; in theoretical_cubic_cwnd() local164 wmax_pkts = wmax / (double)smss; in theoretical_cubic_cwnd()166 return (smss * (wmax_pkts + in theoretical_cubic_cwnd()168 theoretical_cubic_k(wmax_pkts) / pow(2, CUBIC_SHIFT), 3.0)))); in theoretical_cubic_cwnd()196 cubic_k(unsigned long wmax_pkts) in cubic_k() argument205 s = ((wmax_pkts * ONE_SUB_CUBIC_BETA) << CUBIC_SHIFT) / CUBIC_C_FACTOR; in cubic_k()