Lines Matching refs:info
89 struct xt_rateest_target_info *info = (void *)(*target)->data;
91 RATEEST_info = info;
100 strncpy(info->name, optarg, sizeof(info->name) - 1);
134 struct xt_rateest_target_info *info = RATEEST_info;
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)
151 info->interval -= 2;
153 for (info->ewma_log = 1; info->ewma_log < 32; info->ewma_log++) {
154 double w = 1.0 - 1.0 / (1 << info->ewma_log);
158 info->ewma_log--;
160 if (info->ewma_log == 0 || info->ewma_log >= 31)
168 const struct xt_rateest_target_info *info = (const void *)target->data;
172 local_interval = (TIME_UNITS_PER_SEC << (info->interval + 2)) / 4;
173 local_ewma_log = local_interval * (1 << (info->ewma_log));
175 printf(" %sname %s", prefix, info->name);