Home | History | Annotate | Download | only in pppd

Lines Matching defs:timenow

1248 static struct timeval timenow;		/* Current time */
1268 gettimeofday(&timenow, NULL);
1269 newp->c_time.tv_sec = timenow.tv_sec + secs;
1270 newp->c_time.tv_usec = timenow.tv_usec + usecs;
1322 if (gettimeofday(&timenow, NULL) < 0)
1324 if (!(p->c_time.tv_sec < timenow.tv_sec
1325 || (p->c_time.tv_sec == timenow.tv_sec
1326 && p->c_time.tv_usec <= timenow.tv_usec)))
1347 gettimeofday(&timenow, NULL);
1348 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec;
1349 tvp->tv_usec = callout->c_time.tv_usec - timenow.tv_usec;