Home
last modified time | relevance | path

Searched refs:tm_max (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/rtadvd/
H A Dtimer.c57 static struct timespec tm_max; variable
63 tm_limit.tv_sec = (-1) & ~((time_t)1 << ((sizeof(tm_max.tv_sec) * 8) - 1)); in rtadvd_timer_init()
64 tm_limit.tv_nsec = (-1) & ~((long)1 << ((sizeof(tm_max.tv_nsec) * 8) - 1)); in rtadvd_timer_init()
65 tm_max = tm_limit; in rtadvd_timer_init()
129 rat->rat_tm = tm_max; in rtadvd_add_timer()
161 tm_max = tm_limit; in rtadvd_check_timer()
170 if (TS_CMP(&rat->rat_tm, &tm_max, <)) in rtadvd_check_timer()
171 tm_max = rat->rat_tm; in rtadvd_check_timer()
173 if (TS_CMP(&tm_max, &tm_limit, ==)) { in rtadvd_check_timer()
176 } else if (TS_CMP(&tm_max, &now, <)) { in rtadvd_check_timer()
[all …]
/freebsd/usr.sbin/rtsold/
H A Drtsold.c72 struct timespec tm_max; variable
192 tm_max.tv_sec = (-1) & ~((time_t)1 << ((sizeof(tm_max.tv_sec) * 8) - 1)); in main()
193 tm_max.tv_nsec = (-1) & ~((long)1 << ((sizeof(tm_max.tv_nsec) * 8) - 1)); in main()
561 rtsol_timer = tm_max; in rtsol_check_timer()
687 if (TS_CMP(&rtsol_timer, &tm_max, ==)) { in rtsol_check_timer()
728 ifi->timer = tm_max; /* stop timer(valid?) */ in rtsol_timer_update()
759 if (TS_CMP(&ifi->timer, &tm_max, ==)) { in rtsol_timer_update()
760 ifi->expire = tm_max; in rtsol_timer_update()
H A Ddump.c94 if (ifi->timer.tv_sec == tm_max.tv_sec && in rtsold_dump()
95 ifi->timer.tv_nsec == tm_max.tv_nsec) in rtsold_dump()
H A Drtsold.h155 extern struct timespec tm_max;