Home
last modified time | relevance | path

Searched refs:reftime (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/ntp/sntp/tests/
H A DpacketHandling.c139 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 Dt_parsedate.c57 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 Dntpdate.h27 l_fp reftime; /* time of peer's last update */ member
H A Dntpdate.c701 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 Dnetworking.h62 l_fp reftime; member
H A Dmain.c1333 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 Drefclock_parse.c3766 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 Dntp_proto.c2581 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 Dntpsim.c339 xpkt.reftime = xpkt.xmt; in simulate_server()
H A Drefclock_msfees.c243 l_fp reftime; /* reference time */ member
885 ees->reftime = tmp; in ees_receive()
H A Dntp_request.c910 HTONL_FP(&pp->reftime, &ip->reftime); in peer_info()
1100 HTONL_FP(&sys_reftime, &is->reftime); in sys_info()
H A Dntp_refclock.c695 peer->reftime = pp->lastref; in refclock_receive()
/freebsd/contrib/ntp/parseutil/
H A Ddcfd.c1011 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 Dlayout.std88 offsetof(reftime) = 52
157 offsetof(reftime) = 20
H A Dntpdc_ops.c630 NTOHL_FP(&pp->reftime, &tempts); in printpeer()
998 NTOHL_FP(&is->reftime, &tempts); in sysinfo()
/freebsd/contrib/ntp/include/
H A Dntp.h305 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 Dntp_request.h400 l_fp reftime; /* peer.reftime */ member
485 l_fp reftime; /* system reference time */ member
/freebsd/contrib/ntp/clockstuff/
H A Dchutest.c545 u_long reftime; in chufilter() local
691 reftime = date_ui; in chufilter()
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c1504 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 Dntpq.texi557 @item @code{reftime}
692 @item @code{reftime}
H A Dntpq-opts.def835 .It Cm reftime
924 .It Cm reftime
H A Dinvoke-ntpq.texi715 @item @code{reftime}
804 @item @code{reftime}
/freebsd/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c145 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 Dnl.c176 (int) offsetof(struct info_peer, reftime));
314 (int) offsetof(struct info_sys, reftime));
/freebsd/contrib/ntp/
H A DREADME.leapsmear261 reftime=d93dab96.09666671 Tue, Jun 30 2015 23:58:14.036,

12