Searched refs:wmax_pkts (Results 1 – 1 of 1) sorted by relevance
93 theoretical_cubic_k(double wmax_pkts) in theoretical_cubic_k() argument99 return (pow((wmax_pkts * 0.2) / C, (1.0 / 3.0)) * pow(2, CUBIC_SHIFT)); in theoretical_cubic_k()105 double C, wmax_pkts; in theoretical_cubic_cwnd() local108 wmax_pkts = wmax / (double)smss; in theoretical_cubic_cwnd()110 return (smss * (wmax_pkts + in theoretical_cubic_cwnd()112 theoretical_cubic_k(wmax_pkts) / pow(2, CUBIC_SHIFT), 3.0)))); in theoretical_cubic_cwnd()140 cubic_k(uint32_t wmax_pkts) in cubic_k() argument149 s = ((wmax_pkts * ONE_SUB_CUBIC_BETA) << CUBIC_SHIFT) / CUBIC_C_FACTOR; in cubic_k()