Lines Matching refs:interval
245 struct timeval interval = {1, 0}; /* interval between packets */
481 errx(1, "illegal timing interval %s", optarg);
483 errx(1, "%s: only root may use interval < 1s",
486 interval.tv_sec = (long)intval;
487 interval.tv_usec =
488 (long)((intval - interval.tv_sec) * 1000000);
489 if (interval.tv_sec < 0)
490 errx(1, "illegal timing interval %s", optarg);
492 if (interval.tv_sec == 0 && interval.tv_usec < 10000) {
493 warnx("too small interval, raised to 0.01");
494 interval.tv_usec = 10000;
1073 itimer.it_interval = interval;
1074 itimer.it_value = interval;