Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/inet/cc/
H A Dcc_cubic.h93 theoretical_cubic_k(double wmax_pkts) in theoretical_cubic_k() argument
99 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() local
108 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() argument
149 s = ((wmax_pkts * ONE_SUB_CUBIC_BETA) << CUBIC_SHIFT) / CUBIC_C_FACTOR; in cubic_k()