Home
last modified time | relevance | path

Searched refs:ntp_time (Results 1 – 6 of 6) sorted by relevance

/trueos/contrib/ntp/ntpd/
HDcheck_y2k.c492 u_long ntp_time; /* NTP time */ in main() local
499 ntp_time = julian0( year0 ); /* NTP starts in 1900-01-01 */ in main()
501 ntp_time -= 365; /* BIAS required for successful test */ in main()
503 if ( DAY_NTP_STARTS != ntp_time ) in main()
509 (long)DAY_NTP_STARTS, (long)ntp_time, in main()
510 (long)DAY_NTP_STARTS - (long)ntp_time ); in main()
517 ntp_time = Days( year ) - Days( year0 ); /* days into NTP time */ in main()
518 ntp_time *= 24 * 60 * 60; /* convert into seconds */ in main()
519 caljulian( ntp_time, &ot ); /* convert January 1 */ in main()
526 (unsigned long)ntp_time, in main()
[all …]
HDntpsim.c44 ntp_node.ntp_time = 0; /* client disciplined time */ in ntpsim()
317 DTOLFP(n->ntp_time, &rbuf->recv_time); in netpkt()
351 n->time, n->clk_time, n->ntp_time); in ndbeep()
355 n->time, n->clk_time, n->ntp_time); in ndbeep()
/trueos/contrib/ntp/libntp/
HDsystime.c381 if (ntp_node.ntp_time == ntp_node.last_time) in get_systime()
382 ntp_node.ntp_time += 200e-9; in get_systime()
383 ntp_node.last_time = ntp_node.ntp_time; in get_systime()
384 DTOLFP(ntp_node.ntp_time, now); in get_systime()
446 ntp_node.ntp_time, now); in step_systime()
448 ntp_node.ntp_time += now; in step_systime()
469 dtemp = t - n->ntp_time; in node_clock()
471 n->ntp_time += dtemp; in node_clock()
484 n->ntp_time -= dtemp; in node_clock()
487 n->ntp_time += dtemp; in node_clock()
[all …]
HDcaltontp.c18 u_long ntp_time; in caltontp() local
38 ntp_time = in caltontp()
41 return ntp_time; in caltontp()
HDcalyearstart.c12 calyearstart(u_long ntp_time) in calyearstart() argument
16 caljulian(ntp_time,&jt); in calyearstart()
/trueos/contrib/ntp/include/
HDntpsim.h50 double ntp_time; /* client disciplined time */ member