Lines Matching defs:eesunit

240      struct eesunit {			/* EES unit control structure. */  struct
241 struct peer *peer; /* associated peer structure */
242 struct refclockio io; /* given to the I/O handler */
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) */
250 char lastcode[LENEESCODE+6]; /* last time code we received */
251 u_long lasttime; /* last time clock heard from */
252 u_long clocklastgood; /* last time good radio seen */
253 u_char lencode; /* length of code in buffer */
254 u_char nsamples; /* number of samples we've collected */
255 u_char codestate; /* state of 232 code reception */
256 u_char unit; /* unit number for this guy */
257 u_char status; /* clock status */
258 u_char lastevent; /* last clock event */
259 u_char reason; /* reason for last abort */
260 u_char hour; /* hour of day */
261 u_char minute; /* minute of hour */
262 u_char second; /* seconds of minute */
263 char tz; /* timezone from clock */
264 u_char ttytype; /* method used */
265 u_char dump_vals; /* Should clock values be dumped */
266 u_char usealldata; /* Use ALL samples */
267 u_short day; /* day of year from last code */
268 u_long yearstart; /* start of current year */
269 u_long leaphold; /* time of leap hold expiry */
270 u_long badformat; /* number of bad format codes */
271 u_long baddata; /* number of invalid time codes */
272 u_long timestarted; /* time we started this */
273 long last_pps_no; /* The serial # of the last PPS */
274 char fix_pending; /* Is a "sync to time" pending ? */
276 l_fp last_l; /* last time stamp */
277 u_char last_steps[MAX_STEP]; /* Most recent n steps */
278 int best_av_step; /* Best guess at average step */
279 char best_av_step_count; /* # of steps over used above */
280 char this_step; /* Current pos in buffer */
281 int last_step_late; /* How late the last step was (0-59) */
282 long jump_fsecs; /* # of fractions of a sec last jump */
283 u_long last_step; /* time of last step */
307 static struct eesunit *eesunits[MAXUNITS]; argument