Lines Matching refs:now
69 struct timeval now; /* current idea of time */ variable
145 now.tv_sec = EPOCH; in main()
460 timevalsub(&now, &clk, &epoch); in main()
461 now_stale = now.tv_sec - STALE_TIME; in main()
462 now_expire = now.tv_sec - EXPIRE_TIME; in main()
463 now_garbage = now.tv_sec - GARBAGE_TIME; in main()
474 timevalsub(&select_timeout, &ifscan_timer, &now); in main()
486 timevalsub(&result, &sync_kern_timer, &now); in main()
489 sync_kern_timer.tv_sec = (now.tv_sec in main()
498 timevalsub(&result, &next_bcast, &now); in main()
540 if (!timercmp(&no_flash, &now, > /* */)) in main()
542 timevalsub(&result, &no_flash, &now); in main()
548 timevalsub(&result, &age_timer, &now); in main()
557 timevalsub(&result, &need_kern, &now); in main()
569 if (!timercmp(&rdisc_timer, &now, > /* */)) { in main()
573 timevalsub(&result, &rdisc_timer, &now); in main()
633 ifscan_timer.tv_sec = now.tv_sec; in sigalrm()
868 if (next_bcast.tv_sec < now.tv_sec+MIN_WAITTIME) in rip_on()
869 next_bcast.tv_sec = now.tv_sec+MIN_WAITTIME; in rip_on()
875 ifscan_timer.tv_sec = now.tv_sec; in rip_on()
987 if (lim->reuse > now.tv_sec) { in msglim()
990 lim->reuse = now.tv_sec + 10*60; in msglim()
999 if (ms->until > now.tv_sec) in msglim()
1008 ms->until = now.tv_sec + 60*60; /* 60 minutes */ in msglim()