Home
last modified time | relevance | path

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

/freebsd-12.1/usr.sbin/rtadvd/
H A Dtimer.c166 if (TS_CMP(&rat->rat_tm, &now, <=)) { in rtadvd_check_timer()
173 if (TS_CMP(&rat->rat_tm, &tm_max, <)) in rtadvd_check_timer()
176 if (TS_CMP(&tm_max, &tm_limit, ==)) { in rtadvd_check_timer()
179 } else if (TS_CMP(&tm_max, &now, <)) { in rtadvd_check_timer()
197 if (TS_CMP(&rat->rat_tm, &tm_max, <)) in rtadvd_set_timer()
H A Dtimer_subr.h37 #define TS_CMP(tsp, usp, cmp) \ macro
H A Dtimer_subr.c51 if (TS_CMP(&rat->rat_tm, &now, <=)) { in rtadvd_timer_rest()
H A Drtadvd.c1016 if (TS_CMP(rest, &interval, <)) { in set_short_delay()
1033 if (TS_CMP(&tm_tmp, &min_delay, <)) { in set_short_delay()
/freebsd-12.1/usr.sbin/rtsold/
H A Drtsold.c511 if (TS_CMP(&ifi->expire, &now, <=)) { in rtsol_check_timer()
605 if (TS_CMP(&now, &rao->rao_expire, in rtsol_check_timer()
622 if (TS_CMP(&ifi->expire, &rtsol_timer, <)) in rtsol_check_timer()
626 if (TS_CMP(&rtsol_timer, &tm_max, ==)) { in rtsol_check_timer()
629 } else if (TS_CMP(&rtsol_timer, &now, <)) in rtsol_check_timer()
697 if (TS_CMP(&ifi->timer, &tm_max, ==)) { in rtsol_timer_update()
H A Drtsold.h129 #define TS_CMP(tsp, usp, cmp) \ macro
H A Drtsol.c607 if (TS_CMP(&now, &rao->rao_expire, >)) { in ra_opt_handler()
628 if (TS_CMP(&now, &rao->rao_expire, >)) { in ra_opt_handler()