/freebsd/contrib/ntp/sntp/tests/ |
H A D | packetHandling.c | 139 l_fp reftime, tmp; in test_OffsetCalculationPositiveOffset() 148 get_systime(&reftime); in test_OffsetCalculationPositiveOffset() 149 HTONL_FP(&reftime, &rpkt.reftime); in test_OffsetCalculationPositiveOffset() 185 l_fp reftime, tmp; in test_OffsetCalculationNegativeOffset() 194 get_systime(&reftime); in test_OffsetCalculationNegativeOffset() 195 HTONL_FP(&reftime, &rpkt.reftime); in test_OffsetCalculationNegativeOffset() 323 HTONL_FP(&now, &rpkt.reftime); 119 l_fp reftime, tmp; test_OffsetCalculationPositiveOffset() local 165 l_fp reftime, tmp; test_OffsetCalculationNegativeOffset() local
|
/freebsd/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 57 parsecheck(const char *datestr, const time_t *reftime, const int *zoff, in parsecheck() argument 77 (reftime ? "" : "NULL"), in parsecheck() 78 (reftime ? 1 : 0), in parsecheck() 79 (reftime ? (intmax_t)*reftime : (intmax_t)0), in parsecheck() 85 ATF_CHECK_MSG((t = parsedate(datestr, reftime, zoff)) != -1, in parsecheck()
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.h | 27 l_fp reftime; /* time of peer's last update */ member
|
H A D | ntpdate.c | 701 L_CLR(&xpkt.reftime); in transmit() 859 NTOHL_FP(&rpkt->reftime, &server->reftime); in receive() 1086 if (!L_ISHIS(&server->org, &server->reftime)) { in clock_select() 1092 if ((server->org.l_ui - server->reftime.l_ui) in clock_select() 2196 prettydate(&pp->reftime)); in print_server()
|
/freebsd/contrib/ntp/sntp/ |
H A D | networking.h | 62 l_fp reftime; member
|
H A D | main.c | 1333 NTOHL_FP(&rpkt->reftime, &p_ref); in offset_calculation() 1396 printf("sntp offset_calculation: rpkt->reftime:\n"); in offset_calculation()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_parse.c | 3766 l_fp off, rectime, reftime; in parse_process() local 4008 off = reftime = parsetime->parse_time.fp; in parse_process() 4016 prettydate(&reftime), in parse_process() 4061 reftime = off = offset; in parse_process() 4062 if (reftime.l_uf & 0x80000000) in parse_process() 4063 reftime.l_ui++; in parse_process() 4064 reftime.l_uf = 0; in parse_process() 4078 reftime = off = parsetime->parse_time.fp; in parse_process() 4095 reftime = offset; in parse_process() 4096 if (reftime.l_uf & 0x80000000) in parse_process() [all …]
|
H A D | ntp_proto.c | 2581 NTOHL_FP(&pkt->reftime, &p_reftime); in process_packet() 2635 peer->reftime = p_reftime; in process_packet() 3613 if (!L_ISZERO(&peer->reftime) && d < lastresort_dist) { in clock_select() 4169 HTONL_FP(&sys_reftime, &xpkt.reftime); in peer_xmit() 4649 xpkt.reftime = rpkt->reftime; in fast_xmit() 4730 HTONL_FP(&this_ref_time, &xpkt.reftime); in fast_xmit() 4936 HTONL_FP(&sys_reftime, &xpkt.reftime); in pool_xmit()
|
H A D | ntpsim.c | 339 xpkt.reftime = xpkt.xmt; in simulate_server()
|
H A D | refclock_msfees.c | 243 l_fp reftime; /* reference time */ member 885 ees->reftime = tmp; in ees_receive()
|
H A D | ntp_request.c | 910 HTONL_FP(&pp->reftime, &ip->reftime); in peer_info() 1100 HTONL_FP(&sys_reftime, &is->reftime); in sys_info()
|
H A D | ntp_refclock.c | 695 peer->reftime = pp->lastref; in refclock_receive()
|
/freebsd/contrib/ntp/parseutil/ |
H A D | dcfd.c | 1011 time_t reftime in update_drift() argument 1026 (long int)(l_abs(offset) % 1000000), asctime(localtime(&reftime))); in update_drift() 1040 time_t reftime in adjust_clock() argument 1090 update_drift(drift_file, usecoffset, reftime); in adjust_clock()
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | layout.std | 88 offsetof(reftime) = 52 157 offsetof(reftime) = 20
|
H A D | ntpdc_ops.c | 630 NTOHL_FP(&pp->reftime, &tempts); in printpeer() 998 NTOHL_FP(&is->reftime, &tempts); in sysinfo()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp.h | 305 l_fp reftime; /* update epoch */ 558 l_fp reftime; /* last update time */ 301 l_fp reftime; /* update epoch */ global() member 553 l_fp reftime; /* last update time */ global() member
|
H A D | ntp_request.h | 400 l_fp reftime; /* peer.reftime */ member 485 l_fp reftime; /* system reference time */ member
|
/freebsd/contrib/ntp/clockstuff/ |
H A D | chutest.c | 545 u_long reftime; in chufilter() local 691 reftime = date_ui; in chufilter()
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 1504 l_fp *reftime in when() argument 1511 else if (reftime->l_ui != 0) in when() 1512 lasttime = reftime; in when() 1617 { "reftime", 0 }, /* 11 */ 1635 { "reftime", 0 }, /* 11 */ 1655 { "reftime", 0 }, /* 12 */ 1704 l_fp reftime; in doprintpeers() 1850 } else if (!strcmp("reftime", name)) { in doprintpeers() 1851 if (!decodets(value, &reftime)) in doprintpeers() 1852 L_CLR(&reftime); in doprintpeers() 1703 l_fp reftime; doprintpeers() local [all...] |
H A D | ntpq.texi | 557 @item @code{reftime} 692 @item @code{reftime}
|
H A D | ntpq-opts.def | 835 .It Cm reftime 924 .It Cm reftime
|
H A D | invoke-ntpq.texi | 715 @item @code{reftime} 804 @item @code{reftime}
|
/freebsd/contrib/bsnmp/snmp_ntp/ |
H A D | snmp_ntp.c | 145 u_char reftime[8]; /* RefTime */ member 1050 val_parse_ts(val, p->reftime); in fetch_peers() 1310 return (string_get(value, t->reftime, 8)); in op_ntpPeersVarTable()
|
/freebsd/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 176 (int) offsetof(struct info_peer, reftime)); 314 (int) offsetof(struct info_sys, reftime));
|
/freebsd/contrib/ntp/ |
H A D | README.leapsmear | 261 reftime=d93dab96.09666671 Tue, Jun 30 2015 23:58:14.036,
|