/freebsd/contrib/ntp/util/ |
H A D | jitter.c | 20 #define JAN_1970 2208988800UL /* Unix base epoch */ macro 107 now->l_i = ts.tv_sec + JAN_1970; in get_systime() 117 now->l_i = tv.tv_sec + JAN_1970; in get_systime()
|
H A D | ntptime.c | 309 ts.l_ui += JAN_1970; in main()
|
H A D | ntp-keygen.c | 371 fstamp = (u_int)(epoch + JAN_1970); in main() 2001 ASN1_INTEGER_set(serial, (long)epoch + JAN_1970); in x509() 2146 return (mktime(&tm) + JAN_1970); in cb()
|
/freebsd/contrib/tcpdump/ |
H A D | ntp.c | 29 #define JAN_1970 INT64_T_CONSTANT(2208988800) /* 1970 - 1900 in seconds */ macro 53 int64_t seconds_64bit = (int64_t)i - JAN_1970; in p_ntp_time()
|
H A D | print-zep.c | 58 #define JAN_1970 2208988800U macro 82 time_t seconds = i - JAN_1970; in zep_print_ts()
|
/freebsd/contrib/ntp/sntp/tests/ |
H A D | packetHandling.c | 54 xmt.tv_sec += JAN_1970; in test_GenerateUnauthenticatedPacket() 99 xmt.tv_sec = JAN_1970; in test_GenerateAuthenticatedPacket() 170 dst.tv_sec -= JAN_1970; in test_OffsetCalculationNegativeOffset() 217 dst.tv_sec -= JAN_1970; in test_HandleUnusableServer()
|
/freebsd/contrib/ntp/libntp/ |
H A D | uglydate.c | 27 sec = ts->l_ui - JAN_1970; in uglydate()
|
H A D | ntp_calendar.c | 587 ntp -= (uint32_t)JAN_1970; /* warp into UN*X domain */ in ntpcal_ntp_to_time() 600 ntp -= (uint32_t)JAN_1970; /* warp into UN*X domain */ in ntpcal_ntp_to_time() 636 res.Q_s += (uint32_t)JAN_1970; /* warp into NTP domain */ in ntpcal_ntp_to_ntp() 649 M_ADD(res.D_s.hi, res.D_s.lo, 0, (uint32_t)JAN_1970);/*into NTP */ in ntpcal_ntp_to_ntp()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_unixtime.h | 45 #define JAN_1970 ((u_int)NTP_TO_UNIX_DAYS * (u_int)SECSPERDAY) macro
|
H A D | timespecops.h | 206 y.l_ui += JAN_1970; in tspec_stamp_to_lfp()
|
H A D | timevalops.h | 372 y.l_ui += JAN_1970; in tval_stamp_to_lfp()
|
/freebsd/contrib/ntp/clockstuff/ |
H A D | chutest.c | 320 ts.l_ui += JAN_1970; in raw_filter() 364 ts.l_ui += JAN_1970; in process_ldisc() 702 tmp = chuc->codetimes[i].tv_sec + JAN_1970; in chufilter()
|
/freebsd/contrib/ntp/libparse/ |
H A D | clk_trimtsip.c | 284 clock_time->utctime = gpstime.l_ui - JAN_1970; in cvt_trimtsip()
|
H A D | parse.c | 735 parseio->parse_dtime.parse_time.fp.l_ui = (uint32_t) (t + JAN_1970); in timepacket()
|
/freebsd/contrib/ntp/sntp/ |
H A D | main.c | 677 tv_xmt.tv_sec += JAN_1970; in xmt() 687 spkt->stime = tv_xmt.tv_sec - JAN_1970; in xmt() 1347 dst.l_ui += JAN_1970; in offset_calculation()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_mx4200.c | 1547 (u_int32) JAN_1970; in mx4200_pps()
|
H A D | ntp_refclock.c | 1597 pp->lastrec.l_ui = (u_int32)ap->ts.tv_sec + JAN_1970; in refclock_pps()
|
H A D | refclock_parse.c | 2250 parse->parseio.parse_dtime.parse_ptime.fp.l_ui = (uint32_t) (pts.tv_sec + JAN_1970); in local_input() 2311 tstmp.l_ui += JAN_1970; in local_input()
|
H A D | refclock_oncore.c | 1790 ts.l_ui += JAN_1970; in oncore_get_timestamp()
|
H A D | ntp_crypto.c | 1903 uint32_t nowntp = (uint32_t)now + JAN_1970; in crypto_update()
|
H A D | ntp_io.c | 3436 nts.l_i = pbt.sec + JAN_1970;
|
H A D | refclock_ripencc.c | 750 tstmp.l_ui = ts.tv_sec + JAN_1970; in ripencc_get_pps_ts()
|
H A D | ntp_control.c | 1728 time_t fstamp = (time_t)uval - JAN_1970; in ctl_putfs()
|
/freebsd/contrib/ntp/ |
H A D | CommitLog-4.1.0 | 262 * ntpd/refclock_shm.c (shm_poll): Apply JAN_1970 correction after
|
H A D | CommitLog | [all...] |