Lines Matching defs:period
73 static void ndp_start_timer(time_t period);
154 " %s [-n] -A period\n",
197 ndp_usage("Missing time period after -%c", flag);
299 ndp_start_timer(time_t period)
303 interval.it_value.tv_sec = interval.it_interval.tv_sec = period;
320 ndp_run_periodically(time_t period, ndp_void_f *func)
325 ndp_start_timer(period);
989 long long period;
1085 period = strtoll(flagarg, &endptr, 10);
1086 if ((period == 0 && errno != 0) ||
1088 (period < 0)) {
1089 ndp_usage("Given period should be a positive integer,"
1092 if (period > 86400) {
1093 ndp_usage("Given period should be shorter than a day;"
1096 ndp_run_periodically(period, ndp_get_all);