Home
last modified time | relevance | path

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

/freebsd/sys/netinet/cc/
H A Dcc_cubic.h149 theoretical_cubic_k(double wmax_pkts) in theoretical_cubic_k() argument
155 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() local
164 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() argument
205 s = ((wmax_pkts * ONE_SUB_CUBIC_BETA) << CUBIC_SHIFT) / CUBIC_C_FACTOR; in cubic_k()