/freebsd/contrib/ntp/include/ |
H A D | mbg_gps166.h | 520 typedef l_fp XYZ[N_XYZ]; 542 typedef l_fp LLA[N_LLA]; 835 l_fp A0; ///< +- Clock Correction Coefficient 0 [sec] 836 l_fp A1; ///< +- Clock Correction Coefficient 1 [sec/sec] 878 l_fp sqrt_A; ///< Square Root of semi-major Axis [sqrt(m)] 879 l_fp e; ///< Eccentricity [---] 880 l_fp M0; ///< +- Mean Anomaly at Ref. Time [rad] 881 l_fp omega; ///< +- Argument of Perigee [rad] 882 l_fp OMEGA0; ///< +- Longit. of Asc. Node of orbit plane [rad] 883 l_fp OMEGADOT; ///< +- Rate of Right Ascension [rad/sec] [all …]
|
H A D | ntp_calgps.h | 65 gpscal_add_offset(TGpsDatum *datum, l_fp offset); 68 gpscal_from_calendar_ex(TcCivilDate*, l_fp fofs, int/*BOOL*/ warp); 71 gpscal_from_calendar(TcCivilDate *pCiv, l_fp fofs) { in gpscal_from_calendar() 76 gpscal_from_gpsweek(uint16_t w, int32_t s, l_fp fofs); 79 gpscal_from_weektime1(int32_t wsecs, l_fp fofs, l_fp pivot); 82 gpscal_from_weektime2(int32_t wsecs, l_fp fofs, TcGpsDatum *pivot); 90 extern l_fp 103 gpsntp_add_offset(TNtpDatum *datum, l_fp offset); 106 gpsntp_from_calendar_ex(TcCivilDate*, l_fp fofs, int/*BOOL*/ warp); 109 gpsntp_from_calendar(TcCivilDate * pCiv, l_fp fofs) { in gpsntp_from_calendar() [all …]
|
H A D | ntp_refclock.h | 122 l_fp times[NCLKBUGTIMES]; /* real times */ 164 l_fp lastref; /* reference timestamp */ 165 l_fp lastrec; /* receive timestamp */ 230 extern void refclock_process_offset(struct refclockproc *, l_fp, 231 l_fp, double); 235 extern int refclock_gtlin (struct recvbuf *, char *, int, l_fp *); 236 extern int refclock_gtraw (struct recvbuf *, char *, int, l_fp *); 256 const struct refclock_atom*, l_fp *rcvtime ,
|
H A D | timespecops.h | 195 extern l_fp tspec_intv_to_lfp(struct timespec x); 198 static inline l_fp 203 l_fp y; in tspec_stamp_to_lfp() 212 extern struct timespec lfp_intv_to_tspec(l_fp x); 213 extern struct timespec lfp_uintv_to_tspec(l_fp x); 220 extern struct timespec lfp_stamp_to_tspec(l_fp x, const time_t *pivot);
|
H A D | ntp_request.h | 142 l_fp tstamp; /* time stamp, for authentication */ 152 l_fp tstamp; /* time stamp, for authentication */ 362 l_fp offset; /* peer.estoffset */ 400 l_fp reftime; /* peer.reftime */ 401 l_fp org; /* peer.org */ 402 l_fp rec; /* peer.rec */ 403 l_fp xmt; /* peer.xmt */ 405 l_fp filtoffset[NTP_SHIFT]; /* offset shift register */ 409 l_fp offset; /* peer.estoffset */ 465 l_fp last_offset; [all …]
|
H A D | ntp.h | 305 l_fp reftime; /* update epoch */ 360 l_fp rec; /* receive time stamp */ 361 l_fp xmt; /* transmit time stamp */ 362 l_fp dst; /* destination timestamp */ 363 l_fp aorg; /* origin timestamp */ 364 l_fp borg; /* alternate origin timestamp */ 365 l_fp bxmt; /* most recent broadcast transmit timestamp */ 366 l_fp nonce; /* Value of nonce we sent as the xmt stamp */ 544 * an l_fp either, but for now declaring it that way is convenient. 547 * Note that all u_fp and l_fp value [all...] |
H A D | timevalops.h | 348 static inline l_fp 354 l_fp y; in tval_intv_to_lfp() 364 static inline l_fp 369 l_fp y; in tval_stamp_to_lfp() 380 l_fp x in lfp_intv_to_tval() 384 l_fp absx; in lfp_intv_to_tval() 405 l_fp x in lfp_uintv_to_tval() 423 l_fp x, in lfp_stamp_to_tval()
|
H A D | ntp_fp.h | 36 } l_fp; typedef 350 extern int atolfp (const char *, l_fp *); 351 extern int buftvtots (const char *, l_fp *); 354 extern int hextolfp (const char *, l_fp *); 355 extern void gpstolfp (u_int, u_int, unsigned long, l_fp *); 356 extern int mstolfp (const char *, l_fp *); 357 extern char * prettydate (l_fp *); 358 extern char * gmprettydate (l_fp *); 359 extern char * uglydate (l_fp *); 364 extern void get_systime (l_fp *);
|
H A D | ntpd.h | 147 extern void collect_timing (struct recvbuf *, const char *, int, l_fp *); 322 l_fp *t1, l_fp *t2, l_fp *t3, l_fp *t4, 523 extern l_fp sys_reftime; /* last update time */ 533 extern l_fp sys_authdelay; /* authentication delay */
|
H A D | refidsmear.h | 2 extern l_fp convertRefIDToLFP(uint32_t r); 3 extern uint32_t convertLFPToRefID(l_fp num);
|
/freebsd/contrib/ntp/libntp/ |
H A D | ntp_calgps.c | 30 l_fp 32 l_fp lfp, in ntpfp_with_fudge() 36 l_fp fpo; in ntpfp_with_fudge() 105 l_fp offset in gpsntp_add_offset() 123 l_fp offset in gpscal_add_offset() 190 l_fp fofs, in _gpsntp_from_daytime() 227 l_fp fofs, in gpsntp_from_daytime2_ex() 247 l_fp fofs, in gpsntp_from_daytime1_ex() 248 l_fp pivot, in gpsntp_from_daytime1_ex() 271 l_fp fofs, in gpsntp_from_calendar_ex() [all …]
|
H A D | timespecops.c | 150 l_fp 156 l_fp y; in tspec_intv_to_lfp() 168 l_fp x in lfp_intv_to_tspec() 172 l_fp absx; in lfp_intv_to_tspec() 193 l_fp x in lfp_uintv_to_tspec() 211 l_fp x, in lfp_stamp_to_tspec()
|
H A D | refidsmear.c | 17 l_fp 20 l_fp temp; in convertRefIDToLFP() 36 convertLFPToRefID(l_fp num) in convertLFPToRefID()
|
H A D | prettydate.c | 17 static char *common_prettydate(l_fp *, int); 155 l_fp *ts, in common_prettydate() 210 l_fp *ts in prettydate() 219 l_fp *ts in gmprettydate()
|
/freebsd/contrib/ntp/sntp/ |
H A D | networking.h | 62 l_fp reftime; 97 l_fp rec; /* receive time stamp */ 98 l_fp xmt; /* transmit time stamp */ 99 l_fp dst; /* destination timestamp */ 100 l_fp aorg; /* origin timestamp */ 101 l_fp borg; /* alternate origin timestamp */
|
H A D | utilities.h | 17 void l_fp_output(l_fp *ts, FILE *output); 18 void l_fp_output_bin(l_fp *ts, FILE *output); 19 void l_fp_output_dec(l_fp *ts, FILE *output);
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.h | 27 l_fp reftime; /* time of peer's last update */ 35 l_fp filter_offset[NTP_SHIFT]; /* offset part of shift register */ 38 l_fp org; /* peer's originate time stamp */ 39 l_fp xmt; /* transmit time stamp */ 42 l_fp offset; /* filter estimated clock offset */
|
/freebsd/contrib/ntp/sntp/tests/ |
H A D | packetHandling.c | 16 int LfpEquality(const l_fp expected, const l_fp actual); 38 const l_fp expected, in LfpEquality() 39 const l_fp actual in LfpEquality() 51 l_fp expected_xmt, actual_xmt; in test_GenerateUnauthenticatedPacket() 82 l_fp expected_xmt, actual_xmt; in test_GenerateAuthenticatedPacket() 139 l_fp reftime, tmp; in test_OffsetCalculationPositiveOffset() 185 l_fp reftime, tmp; in test_OffsetCalculationNegativeOffset() 316 l_fp now;
|
H A D | utilities.c | 158 l_fp test; in test_PktOutput() 174 l_fp test; in test_LfpOutputBinaryFormat() 178 l_fp network; in test_LfpOutputBinaryFormat() 192 l_fp test; in test_LfpOutputDecimalFormat() 196 l_fp network; in test_LfpOutputDecimalFormat()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_msfees.c | 243 l_fp reftime; /* reference time */ 244 l_fp lastsampletime; /* time as in txt from last EES msg */ 245 l_fp arrvtime; /* Time at which pkt arrived */ 246 l_fp codeoffsets[NCODES]; /* the time of arrival of 232 codes */ 247 l_fp offset; /* chosen offset (for clkbug) */ 248 l_fp lowoffset; /* lowest sample offset (for clkbug) */ 249 l_fp highoffset; /* highest " " (for clkbug) */ 276 l_fp last_l; /* last time stamp */ 312 static l_fp inherent_delay[MAXUNITS]; /* when time stamp is taken */ 313 static l_fp fudgefactor[MAXUNITS]; /* fudgetime1 */ [all …]
|
H A D | ntp_util.c | 368 l_fp now; in stats_config() 590 l_fp now; in record_peer_stats() 632 l_fp now; in record_loop_stats() 666 l_fp now; in record_clock_stats() 724 l_fp *t1, /* originate timestamp */ in record_raw_stats() 725 l_fp *t2, /* receive timestamp */ in record_raw_stats() 726 l_fp *t3, /* transmit timestamp */ in record_raw_stats() 727 l_fp *t4, /* destination timestamp */ in record_raw_stats() 741 l_fp now; in record_raw_stats() 802 l_fp no in record_sys_stats() [all...] |
H A D | refclock_gpsdjson.c | 301 l_fp pps_local; /* when we received the PPS message */ 302 l_fp pps_stamp; /* related reference time */ 303 l_fp pps_recvt; /* when GPSD detected the pulse */ 304 l_fp pps_stamp2;/* related reference time (secondary) */ 305 l_fp pps_recvt2;/* when GPSD detected the pulse (secondary)*/ 310 l_fp sti_local; /* when we received the TPV/TOFF message */ 311 l_fp sti_stamp; /* effective GPS time stamp */ 312 l_fp sti_recvt; /* when GPSD got the fix */ 319 l_fp pps_fudge; /* PPS fudge primary channel */ 320 l_fp pps_fudge2; /* PPS fudge secondary channel */ [all …]
|
H A D | refclock_leitch.c | 82 l_fp reftime1; 83 l_fp reftime2; 84 l_fp reftime3; 85 l_fp codetime1; 86 l_fp codetime2; 87 l_fp codetime3; 495 l_fp off; in leitch_process() 496 l_fp tmp_fp; in leitch_process()
|
/freebsd/contrib/ntp/clockstuff/ |
H A D | chutest.c | 80 void chufilter(struct chucode *chuc, l_fp *rtime); 285 l_fp ts; in raw_filter() 352 l_fp ts; in process_ldisc() 494 static l_fp propagation_delay; 495 static l_fp fudgefactor; 496 static l_fp offset_fudge; 535 l_fp *rtime in chufilter() 546 l_fp off[NCHUCHARS]; in chufilter() 547 l_fp ts; in chufilter()
|
/freebsd/contrib/ntp/util/ |
H A D | jitter.c | 26 void sys_gettime(l_fp *); 34 l_fp tr; in main() 91 l_fp *now /* system time */ in get_systime()
|