| /freebsd-11-stable/contrib/ntp/include/ |
| HD | 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 …]
|
| HD | 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 …]
|
| HD | ntp_refclock.h | 122 l_fp times[NCLKBUGTIMES]; /* real times */ 164 l_fp lastref; /* reference timestamp */ 165 l_fp lastrec; /* receive timestamp */ 228 extern void refclock_process_offset(struct refclockproc *, l_fp, 229 l_fp, double); 233 extern int refclock_gtlin (struct recvbuf *, char *, int, l_fp *); 234 extern int refclock_gtraw (struct recvbuf *, char *, int, l_fp *); 250 const struct refclock_atom*, l_fp *rcvtime ,
|
| HD | 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 …]
|
| HD | 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);
|
| HD | ntp.h | 301 l_fp reftime; /* update epoch */ 356 l_fp rec; /* receive time stamp */ 357 l_fp xmt; /* transmit time stamp */ 358 l_fp dst; /* destination timestamp */ 359 l_fp aorg; /* origin timestamp */ 360 l_fp borg; /* alternate origin timestamp */ 361 l_fp bxmt; /* most recent broadcast transmit timestamp */ 362 l_fp nonce; /* Value of nonce we sent as the xmt stamp */ 553 l_fp reftime; /* last update time */ 554 l_fp org; /* originate time stamp */ [all …]
|
| HD | 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()
|
| HD | 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 *);
|
| HD | ntpd.h | 132 extern void collect_timing (struct recvbuf *, const char *, int, l_fp *); 292 … record_raw_stats (sockaddr_u *srcadr, sockaddr_u *dstadr, l_fp *t1, l_fp *t2, l_fp *t3, l_fp *t4,… 479 extern l_fp sys_reftime; /* last update time */ 488 extern l_fp sys_authdelay; /* authentication delay */
|
| /freebsd-11-stable/contrib/ntp/libntp/ |
| HD | 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 …]
|
| HD | 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()
|
| HD | refidsmear.c | 17 l_fp 20 l_fp temp; in convertRefIDToLFP() 36 convertLFPToRefID(l_fp num) in convertLFPToRefID()
|
| HD | prettydate.c | 18 static char *common_prettydate(l_fp *, int); 156 l_fp *ts, in common_prettydate() 211 l_fp *ts in prettydate() 220 l_fp *ts in gmprettydate()
|
| HD | systime.c | 174 l_fp *now /* system time */ in get_systime() 179 static l_fp lfp_prev; /* prior result */ in get_systime() 184 l_fp result; in get_systime() 185 l_fp lfpfuzz; in get_systime() 186 l_fp lfpdelta; in get_systime() 524 l_fp fp_ofs, fp_sys; /* offset and target system time in FP */ in step_systime()
|
| /freebsd-11-stable/contrib/ntp/sntp/ |
| HD | 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 */
|
| HD | utilities.h | 18 void l_fp_output(l_fp *ts, FILE *output); 19 void l_fp_output_bin(l_fp *ts, FILE *output); 20 void l_fp_output_dec(l_fp *ts, FILE *output);
|
| /freebsd-11-stable/contrib/ntp/ntpdate/ |
| HD | 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-11-stable/contrib/ntp/sntp/tests/ |
| HD | 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() 80 l_fp expected_xmt, actual_xmt; in test_GenerateAuthenticatedPacket() 119 l_fp reftime, tmp; in test_OffsetCalculationPositiveOffset() 165 l_fp reftime, tmp; in test_OffsetCalculationNegativeOffset() 296 l_fp now; in test_HandleCorrectPacket()
|
| HD | utilities.c | 161 l_fp test; in test_PktOutput() 177 l_fp test; in test_LfpOutputBinaryFormat() 181 l_fp network; in test_LfpOutputBinaryFormat() 195 l_fp test; in test_LfpOutputDecimalFormat() 199 l_fp network; in test_LfpOutputDecimalFormat()
|
| /freebsd-11-stable/contrib/ntp/ntpd/ |
| HD | 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 …]
|
| HD | ntp_util.c | 341 l_fp now; in stats_config() 547 l_fp now; in record_peer_stats() 588 l_fp now; in record_loop_stats() 622 l_fp now; in record_clock_stats() 680 l_fp *t1, /* originate timestamp */ in record_raw_stats() 681 l_fp *t2, /* receive timestamp */ in record_raw_stats() 682 l_fp *t3, /* transmit timestamp */ in record_raw_stats() 683 l_fp *t4, /* destination timestamp */ in record_raw_stats() 697 l_fp now; in record_raw_stats() 751 l_fp now; in record_sys_stats() [all …]
|
| HD | refclock_gpsdjson.c | 300 l_fp pps_local; /* when we received the PPS message */ 301 l_fp pps_stamp; /* related reference time */ 302 l_fp pps_recvt; /* when GPSD detected the pulse */ 303 l_fp pps_stamp2;/* related reference time (secondary) */ 304 l_fp pps_recvt2;/* when GPSD detected the pulse (secondary)*/ 309 l_fp sti_local; /* when we received the TPV/TOFF message */ 310 l_fp sti_stamp; /* effective GPS time stamp */ 311 l_fp sti_recvt; /* when GPSD got the fix */ 318 l_fp pps_fudge; /* PPS fudge primary channel */ 319 l_fp pps_fudge2; /* PPS fudge secondary channel */ [all …]
|
| HD | 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-11-stable/contrib/ntp/clockstuff/ |
| HD | 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-11-stable/contrib/ntp/util/ |
| HD | jitter.c | 26 void sys_gettime(l_fp *); 34 l_fp tr; in main() 91 l_fp *now /* system time */ in get_systime()
|