Lines Matching refs:interval
15 static unsigned int interval;
24 " --rateest-interval sec Rate measurement interval in seconds\n"
36 {.name = "rateest-interval", .has_arg = true, .val = RATEEST_OPT_INTERVAL},
106 "RATEEST: can't specify --rateest-interval twice");
109 if (RATEEST_get_time(&interval, optarg) < 0)
111 "RATEEST: bad interval value `%s'", optarg);
139 xtables_error(PARAMETER_PROBLEM, "RATEEST: no interval specified");
143 for (info->interval = 0; info->interval <= 5; info->interval++) {
144 if (interval <= (1 << info->interval) * (TIME_UNITS_PER_SEC / 4))
148 if (info->interval > 5)
150 "RATEEST: interval value is too large");
151 info->interval -= 2;
155 if (interval / (-log(w)) > ewma_log)
172 local_interval = (TIME_UNITS_PER_SEC << (info->interval + 2)) / 4;