Searched defs:ewma_log (Results 1 - 11 of 11) sorted by relevance

/external/iptables/include/linux/netfilter/
H A Dxt_RATEEST.h9 __u8 ewma_log; member in struct:xt_rateest_target_info
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_RATEEST.h9 __u8 ewma_log; member in struct:xt_rateest_target_info
/external/iproute2/tc/
H A Dtc_cbq.c28 int ewma_log, unsigned maxburst)
31 double g = 1.0 - 1.0/(1<<ewma_log);
41 return tc_core_time2tick(maxidle*(1<<ewma_log)*TIME_UNITS_PER_SEC);
45 int ewma_log, unsigned minburst)
47 double g = 1.0 - 1.0/(1<<ewma_log);
27 tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, int ewma_log, unsigned maxburst) argument
44 tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, int ewma_log, unsigned minburst) argument
H A Dq_cbq.c59 int ewma_log=-1; local
75 if (get_integer(&ewma_log, *argv, 0)) {
79 if (ewma_log > 31) {
80 fprintf(stderr, "ewma_log must be < 32\n");
159 if (ewma_log < 0)
160 ewma_log = TC_CBQ_DEF_EWMA;
161 lss.ewma_log = ewma_log;
192 int ewma_log=-1; local
253 if (get_integer(&ewma_log, *arg
[all...]
/external/iproute2/include/linux/
H A Dgen_stats.h59 * @ewma_log: the log of measurement window weight
63 unsigned char ewma_log; member in struct:gnet_estimator
H A Dpkt_sched.h46 unsigned char ewma_log; member in struct:tc_estimator
405 unsigned char ewma_log; member in struct:tc_cbq_lssopt
/external/kernel-headers/original/uapi/linux/
H A Dgen_stats.h70 * @ewma_log: the log of measurement window weight
74 unsigned char ewma_log; member in struct:gnet_estimator
H A Dpkt_sched.h46 unsigned char ewma_log; member in struct:tc_estimator
420 unsigned char ewma_log; member in struct:tc_cbq_lssopt
/external/libnl/include/linux/
H A Dgen_stats.h51 * @ewma_log: the log of measurement window weight
56 unsigned char ewma_log; member in struct:gnet_estimator
H A Dpkt_sched.h46 unsigned char ewma_log; member in struct:tc_estimator
330 unsigned char ewma_log; member in struct:tc_cbq_lssopt
/external/iptables/extensions/
H A Dlibxt_RATEEST.c16 unsigned int ewma_log; member in struct:rateest_tg_udata
104 if (RATEEST_get_time(&udata->ewma_log, cb->arg) < 0)
127 for (info->ewma_log = 1; info->ewma_log < 32; info->ewma_log++) {
128 double w = 1.0 - 1.0 / (1 << info->ewma_log);
129 if (udata->interval / (-log(w)) > udata->ewma_log)
132 info->ewma_log--;
134 if (info->ewma_log == 0 || info->ewma_log >
[all...]

Completed in 575 milliseconds