/freebsd/contrib/ntp/scripts/ntptrace/ |
H A D | ntptrace.in | 58 my ($rootdelay, $rootdisp, $info) = (0, 0); 68 if (not (exists $info->{rootdisp} && looks_like_number($info->{rootdisp}))) { 69 $info->{rootdisp} = "NaN"; 74 $info->{syncdistance} = ($info->{rootdisp} + ($info->{rootdelay} / 2)) / 1000;
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.h | 25 u_fp rootdisp; /* peer clock dispersion */ member
|
H A D | ntpdate.c | 699 xpkt.rootdisp = htonl(NTPDATE_DISP); in transmit() 857 server->rootdisp = ntohl(rpkt->rootdisp); in receive() 2189 ufptoa(pp->rootdisp, 6)); in print_server()
|
/freebsd/contrib/ntp/sntp/tests/ |
H A D | packetHandling.c | 145 rpkt.rootdisp = HTONS_FP(DTOUFP(0.25)); in test_OffsetCalculationPositiveOffset() 191 rpkt.rootdisp = HTONS_FP(DTOUFP(0.5)); in test_OffsetCalculationNegativeOffset()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_proto.c | 1331 FPTOD(NTOHS_FP(pkt->rootdisp)), in receive() 1420 FPTOD(NTOHS_FP(pkt->rootdisp)), in receive() 2582 p_disp = FPTOD(NTOHS_FP(pkt->rootdisp)); in process_packet() 2635 peer->rootdisp = p_disp; in process_packet() 2942 dtemp = peer->rootdisp in clock_update() 4131 + peer->rootdisp in root_distance() 4169 xpkt.rootdisp = HTONS_FP(DTOUFP(sys_rootdisp)); in peer_xmit() 4650 xpkt.rootdisp = rpkt->rootdisp; in fast_xmit() 4716 xpkt.rootdisp = HTONS_FP(DTOUFP(this_rootdisp)); in fast_xmit() 4936 xpkt.rootdisp = HTONS_FP(DTOUFP(sys_rootdisp)); in pool_xmit()
|
H A D | ntpsim.c | 305 xpkt.rootdisp = 0; in simulate_server()
|
H A D | ntp_refclock.c | 697 peer->rootdisp = pp->disp; in refclock_receive()
|
H A D | ntp_request.c | 908 ip->rootdispersion = HTONS_FP(DTOUFP(pp->rootdisp)); in peer_info()
|
H A D | ntp_io.c | 3273 /* HMS: pkt->rootdisp is usually random here */ 3285 FPTOD(NTOHS_FP(pkt->rootdisp)), pkt->refid,
|
H A D | ntp_control.c | 343 { CS_ROOTDISPERSION, RO, "rootdisp" }, /* 5 */ 510 { CP_ROOTDISPERSION, RO, "rootdisp" }, /* 15 */ 2676 ctl_putdbl(peer_var[id].text, p->rootdisp * 1e3); in ctl_putpeer()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp.h | 303 double rootdisp; /* dispersion to primary source */ 556 u_fp rootdisp; /* dispersion to primary source*/ 299 double rootdisp; /* dispersion to primary source */ global() member 551 u_fp rootdisp; /* dispersion to primary source*/ global() member
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq.texi | 536 @item @code{rootdisp} 685 @item @code{rootdisp}
|
H A D | ntpq-opts.def | 830 .It Cm rootdisp 919 .It Cm rootdisp
|
H A D | invoke-ntpq.texi | 710 @item @code{rootdisp} 799 @item @code{rootdisp}
|
/freebsd/contrib/ntp/sntp/ |
H A D | main.c | 1332 p_rdsp = NTOHS_FP(rpkt->rootdisp); in offset_calculation() 1356 // + peer->rootdisp + clock_phi * (current_time - peer->update) in offset_calculation() 1371 // + peer->rootdisp in offset_calculation() 1391 printf("sntp rootdisp: %f\n", FPTOD(p_rdsp)); in offset_calculation()
|
/freebsd/contrib/ntp/ |
H A D | README.leapsmear | 260 precision=-18, rootdelay=0.000, rootdisp=1.075, refid=MRS,
|
H A D | ChangeLog | 2082 * [Bug 2115] ntptrace should accept both rootdispersion and rootdisp. 4474 - rootdispersion -> rootdisp
|
H A D | CommitLog | 16697 Add comment about client-mode pkt->rootdisp 16700 Add comment about client-mode pkt->rootdisp [all...] |