Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dtc_estimator.c35 for (est->ewma_log=1; est->ewma_log<32; est->ewma_log++) { in tc_setup_estimator()
36 double w = 1.0 - 1.0/(1<<est->ewma_log); in tc_setup_estimator()
40 est->ewma_log--; in tc_setup_estimator()
41 if (est->ewma_log==0 || est->ewma_log >= 31) in tc_setup_estimator()
Dq_cbq.c59 int ewma_log=-1; in cbq_parse_opt() local
75 if (get_integer(&ewma_log, *argv, 0)) { in cbq_parse_opt()
79 if (ewma_log > 31) { in cbq_parse_opt()
159 if (ewma_log < 0) in cbq_parse_opt()
160 ewma_log = TC_CBQ_DEF_EWMA; in cbq_parse_opt()
161 lss.ewma_log = ewma_log; in cbq_parse_opt()
192 int ewma_log=-1; in cbq_parse_class_opt() local
253 if (get_integer(&ewma_log, *argv, 0)) { in cbq_parse_class_opt()
257 if (ewma_log > 31) { in cbq_parse_class_opt()
370 if (ewma_log < 0) in cbq_parse_class_opt()
[all …]
Dtc_cbq.c28 int ewma_log, unsigned maxburst) in tc_cbq_calc_maxidle() argument
31 double g = 1.0 - 1.0/(1<<ewma_log); in tc_cbq_calc_maxidle()
41 return tc_core_time2tick(maxidle*(1<<ewma_log)*TIME_UNITS_PER_SEC); in tc_cbq_calc_maxidle()
45 int ewma_log, unsigned minburst) in tc_cbq_calc_offtime() argument
47 double g = 1.0 - 1.0/(1<<ewma_log); in tc_cbq_calc_offtime()
Dtc_cbq.h5 int ewma_log, unsigned maxburst);
7 int ewma_log, unsigned minburst);
Dm_estimator.c44 if (est->ewma_log) in parse_estimator()
60 fprintf(stderr, "[estimator i=%u e=%u]\n", est->interval, est->ewma_log); in parse_estimator()
Dtc_qdisc.c137 if (est.ewma_log) in tc_qdisc_modify()
Dtc_class.c113 if (est.ewma_log) in tc_class_modify()
Dtc_filter.c157 if (est.ewma_log) in tc_filter_modify()
/external/iptables/extensions/
Dlibxt_RATEEST.c16 unsigned int ewma_log; member
104 if (RATEEST_get_time(&udata->ewma_log, cb->arg) < 0) in RATEEST_parse()
127 for (info->ewma_log = 1; info->ewma_log < 32; info->ewma_log++) { in RATEEST_final_check()
128 double w = 1.0 - 1.0 / (1 << info->ewma_log); in RATEEST_final_check()
129 if (udata->interval / (-log(w)) > udata->ewma_log) in RATEEST_final_check()
132 info->ewma_log--; in RATEEST_final_check()
134 if (info->ewma_log == 0 || info->ewma_log >= 31) in RATEEST_final_check()
147 local_ewma_log = local_interval * (1 << (info->ewma_log)); in __RATEEST_print()
/external/iptables/include/linux/netfilter/
Dxt_RATEEST.h9 __u8 ewma_log; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_RATEEST.h9 __u8 ewma_log; member
/external/libnl/include/linux/
Dgen_stats.h56 unsigned char ewma_log; member
Dpkt_sched.h46 unsigned char ewma_log; member
330 unsigned char ewma_log; member
/external/iproute2/include/linux/
Dgen_stats.h63 unsigned char ewma_log; member
Dpkt_sched.h46 unsigned char ewma_log; member
405 unsigned char ewma_log; member
/external/kernel-headers/original/uapi/linux/
Dgen_stats.h74 unsigned char ewma_log; member
Dpkt_sched.h46 unsigned char ewma_log; member
420 unsigned char ewma_log; member
/external/libnl/lib/route/sch/
Dcbq.c204 el = cbq->cbq_lss.ewma_log; in cbq_dump_details()
211 cbq->cbq_lss.ewma_log); in cbq_dump_details()