Lines Matching defs:eesunit
242 struct eesunit { /* EES unit control structure. */ struct
243 struct peer *peer; /* associated peer structure */
244 struct refclockio io; /* given to the I/O handler */
245 l_fp reftime; /* reference time */
246 l_fp lastsampletime; /* time as in txt from last EES msg */
247 l_fp arrvtime; /* Time at which pkt arrived */
248 l_fp codeoffsets[NCODES]; /* the time of arrival of 232 codes */
249 l_fp offset; /* chosen offset (for clkbug) */
250 l_fp lowoffset; /* lowest sample offset (for clkbug) */
251 l_fp highoffset; /* highest " " (for clkbug) */
252 char lastcode[LENEESCODE+6]; /* last time code we received */
253 u_long lasttime; /* last time clock heard from */
254 u_long clocklastgood; /* last time good radio seen */
255 u_char lencode; /* length of code in buffer */
256 u_char nsamples; /* number of samples we've collected */
257 u_char codestate; /* state of 232 code reception */
258 u_char unit; /* unit number for this guy */
259 u_char status; /* clock status */
260 u_char lastevent; /* last clock event */
261 u_char reason; /* reason for last abort */
262 u_char hour; /* hour of day */
263 u_char minute; /* minute of hour */
264 u_char second; /* seconds of minute */
265 char tz; /* timezone from clock */
266 u_char ttytype; /* method used */
267 u_char dump_vals; /* Should clock values be dumped */
268 u_char usealldata; /* Use ALL samples */
269 u_short day; /* day of year from last code */
270 u_long yearstart; /* start of current year */
271 u_long leaphold; /* time of leap hold expiry */
272 u_long badformat; /* number of bad format codes */
273 u_long baddata; /* number of invalid time codes */
274 u_long timestarted; /* time we started this */
275 long last_pps_no; /* The serial # of the last PPS */
276 char fix_pending; /* Is a "sync to time" pending ? */
278 l_fp last_l; /* last time stamp */
279 u_char last_steps[MAX_STEP]; /* Most recent n steps */
280 int best_av_step; /* Best guess at average step */
281 char best_av_step_count; /* # of steps over used above */
282 char this_step; /* Current pos in buffer */
283 int last_step_late; /* How late the last step was (0-59) */
284 long jump_fsecs; /* # of fractions of a sec last jump */
285 u_long last_step; /* time of last step */
309 static struct eesunit *eesunits[MAXUNITS]; argument