Searched refs:TS_CMP (Results 1 – 7 of 7) sorted by relevance
/freebsd/usr.sbin/rtadvd/ |
H A D | timer.c | 163 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 D | timer_subr.h | 36 #define TS_CMP(tsp, usp, cmp) \ macro
|
H A D | timer_subr.c | 50 if (TS_CMP(&rat->rat_tm, &now, <=)) { in rtadvd_timer_rest()
|
H A D | rtadvd.c | 1010 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 D | rtsold.c | 564 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 D | rtsold.h | 130 #define TS_CMP(tsp, usp, cmp) \ macro
|
H A D | rtsol.c | 574 if (TS_CMP(&now, &rao->rao_expire, >)) { in ra_opt_handler() 595 if (TS_CMP(&now, &rao->rao_expire, >)) { in ra_opt_handler()
|