Home
last modified time | relevance | path

Searched refs:rootdisp (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/ntp/scripts/ntptrace/
H A Dntptrace.in58 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 Dntpdate.h25 u_fp rootdisp; /* peer clock dispersion */ member
H A Dntpdate.c699 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 DpacketHandling.c145 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 Dntp_proto.c1331 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 Dntpsim.c305 xpkt.rootdisp = 0; in simulate_server()
H A Dntp_refclock.c697 peer->rootdisp = pp->disp; in refclock_receive()
H A Dntp_request.c908 ip->rootdispersion = HTONS_FP(DTOUFP(pp->rootdisp)); in peer_info()
H A Dntp_io.c3273 /* HMS: pkt->rootdisp is usually random here */
3285 FPTOD(NTOHS_FP(pkt->rootdisp)), pkt->refid,
H A Dntp_control.c343 { 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 Dntp.h303 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 Dntpq.texi536 @item @code{rootdisp}
685 @item @code{rootdisp}
H A Dntpq-opts.def830 .It Cm rootdisp
919 .It Cm rootdisp
H A Dinvoke-ntpq.texi710 @item @code{rootdisp}
799 @item @code{rootdisp}
/freebsd/contrib/ntp/sntp/
H A Dmain.c1332 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 DREADME.leapsmear260 precision=-18, rootdelay=0.000, rootdisp=1.075, refid=MRS,
H A DChangeLog2082 * [Bug 2115] ntptrace should accept both rootdispersion and rootdisp.
4474 - rootdispersion -> rootdisp
H A DCommitLog16697 Add comment about client-mode pkt->rootdisp
16700 Add comment about client-mode pkt->rootdisp
[all...]