Home
last modified time | relevance | path

Searched refs:TS_CMP (Results 1 – 7 of 7) sorted by relevance

/freebsd/usr.sbin/rtadvd/
H A Dtimer.c163 if (TS_CMP(&rat->rat_tm, &now, <=)) { in rtadvd_check_timer()
170 if (TS_CMP(&rat->rat_tm, &tm_max, <)) 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()
194 if (TS_CMP(&rat->rat_tm, &tm_max, <)) in rtadvd_set_timer()
H A Dtimer_subr.h36 #define TS_CMP(tsp, usp, cmp) \ macro
H A Dtimer_subr.c50 if (TS_CMP(&rat->rat_tm, &now, <=)) { in rtadvd_timer_rest()
H A Drtadvd.c1010 if (TS_CMP(rest, &interval, <)) { in set_short_delay()
1027 if (TS_CMP(&tm_tmp, &min_delay, <)) { in set_short_delay()
/freebsd/usr.sbin/rtsold/
H A Drtsold.c564 if (TS_CMP(&ifi->expire, &now, <=)) { in rtsol_check_timer()
666 if (TS_CMP(&now, &rao->rao_expire, in rtsol_check_timer()
683 if (TS_CMP(&ifi->expire, &rtsol_timer, <)) in rtsol_check_timer()
687 if (TS_CMP(&rtsol_timer, &tm_max, ==)) { in rtsol_check_timer()
690 } else if (TS_CMP(&rtsol_timer, &now, <)) in rtsol_check_timer()
759 if (TS_CMP(&ifi->timer, &tm_max, ==)) { in rtsol_timer_update()
H A Drtsold.h130 #define TS_CMP(tsp, usp, cmp) \ macro
H A Drtsol.c574 if (TS_CMP(&now, &rao->rao_expire, >)) { in ra_opt_handler()
595 if (TS_CMP(&now, &rao->rao_expire, >)) { in ra_opt_handler()