Searched refs:JAN_1970 (Results 1 - 25 of 33) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dbuftvtots.c33 ts->l_ui = tv.tv_sec + (u_long)JAN_1970;
H A Duglydate.c29 sec = ts->l_ui - JAN_1970;
H A Dprettydate.c80 if ((ntp -= JAN_1970) > dwlo)
H A Dsystime.c80 now->l_i = (int32)ts.tv_sec + JAN_1970;
104 now->l_i = tv.tv_sec + JAN_1970;
H A Dcaljulian.c77 M_ADD(tmphi, tmplo, 0, JAN_1970);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/util/
H A Djitter.c23 #define JAN_1970 2208988800UL /* Unix base epoch */ macro
111 now->l_i = ts.tv_sec + JAN_1970;
121 now->l_i = tv.tv_sec + JAN_1970;
H A Dntp-keygen.c118 #define JAN_1970 2208988800UL /* NTP seconds */ macro
516 epoch = fstamp - JAN_1970;
581 epoch = fstamp - JAN_1970;
605 epoch = fstamp - JAN_1970;
645 epoch = fstamp - JAN_1970;
664 epoch = fstamp - JAN_1970;
1850 ASN1_INTEGER_set(serial, (long)epoch + JAN_1970); local
1995 return (mktime(&tm) + JAN_1970);
2072 (long long)(epoch + JAN_1970));
H A Dntptime.c295 ts.l_ui += JAN_1970;
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dntp.h11 #define JAN_1970 2208988800U /* 1970 - 1900 in seconds */ macro
H A Dprint-ntp.c247 time_t seconds = i - JAN_1970;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/include/
H A Dntp_unixtime.h46 #define JAN_1970 0x83aa7e80 /* 2208988800 1970 - 1900 in seconds */ macro
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_zyfer.c297 ppsev.tv.tv_sec += (u_int32) JAN_1970;
H A Drefclock_trak.c320 ppsev.tv.tv_sec += (u_int32) JAN_1970;
H A Drefclock_shm.c358 pp->lastrec.l_ui += JAN_1970;
H A Drefclock_jupiter.c426 tstmp.l_ui = ts.tv_sec + JAN_1970;
616 tstamp.l_ui = JAN_1970 + last_timecode;
H A Dntp_util.c1124 unix_stamp = ntp_stamp - JAN_1970;
H A Drefclock_nmea.c54 (pts)->l_ui += (u_int32)((ptspec)->tv_sec) + JAN_1970; \
H A Dntp_refclock.c1314 pp->lastrec.l_ui = (u_int32)ap->ts.tv_sec + JAN_1970;
H A Drefclock_mx4200.c1556 (u_int32) JAN_1970;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/sntp/
H A Dmain.c342 dst.l_ui += JAN_1970;
379 tv_xmt.tv_sec += JAN_1970;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/clockstuff/
H A Dchutest.c310 ts.l_ui += JAN_1970;
354 ts.l_ui += JAN_1970;
699 tmp = chuc->codetimes[i].tv_sec + JAN_1970;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libparse/
H A Dclk_trimtsip.c288 clock_time->utctime = gpstime.l_ui - JAN_1970;
H A Dparse.c741 parseio->parse_dtime.parse_time.fp.l_ui = t + JAN_1970;
/netbsd-6-1-5-RELEASE/usr.sbin/mtrace/
H A Dmtrace.c368 * This is possible because (JAN_1970 mod 64K) is quite close to 32K,
375 tim = ((tim & 0xFFFF0000) + (JAN_1970 << 16)) +
595 save->qtime = ((tq.tv_sec + JAN_1970) << 16) +
597 save->rtime = ((tr.tv_sec + JAN_1970) << 16) +
688 base.qtime = ((tr.tv_sec + JAN_1970) << 16) +
690 base.rtime = ((tr.tv_sec + JAN_1970) << 16) +
1598 waittime = statint - (((tv.tv_sec + JAN_1970) & 0xFFFF) - (base.qtime >> 16));
/netbsd-6-1-5-RELEASE/usr.sbin/mrouted/
H A Ddefs.h81 #define JAN_1970 2208988800UL /* 1970 - 1900 in seconds */ macro

Completed in 452 milliseconds

12