Home
last modified time | relevance | path

Searched refs:FPTOD (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ntp/sntp/
H A Dmain.c1375 INSIST( FPTOD(p_rdly) >= 0. ); in offset_calculation()
1377 *synch_distance = (fabs(t21 + t34) + FPTOD(p_rdly)) / 3. in offset_calculation()
1379 + FPTOD(p_rdsp) in offset_calculation()
1385 *synch_distance = (FPTOD(p_rdly) + FPTOD(p_rdsp))/2.0; in offset_calculation()
1390 printf("sntp rootdelay: %f\n", FPTOD(p_rdly)); in offset_calculation()
1391 printf("sntp rootdisp: %f\n", FPTOD(p_rdsp)); in offset_calculation()
/freebsd/contrib/ntp/ntpd/
H A Dntp_proto.c1328 FPTOD(NTOHS_FP(pkt->rootdelay)), in receive()
1329 FPTOD(NTOHS_FP(pkt->rootdisp)), in receive()
1417 FPTOD(NTOHS_FP(pkt->rootdelay)), in receive()
1418 FPTOD(NTOHS_FP(pkt->rootdisp)), in receive()
2578 p_del = FPTOD(NTOHS_FP(pkt->rootdelay)); in process_packet()
2580 p_disp = FPTOD(NTOHS_FP(pkt->rootdisp)); in process_packet()
H A Dntp_io.c3282 FPTOD(NTOHS_FP(pkt->rootdelay)),
3283 FPTOD(NTOHS_FP(pkt->rootdisp)), pkt->refid,
H A Dntp_control.c65 FPTOD(sfp))
/freebsd/contrib/ntp/include/
H A Dntp_fp.h253 #define FPTOD(r) ((double)(r) / FRIC) macro