Lines Matching defs:instance

267 struct instance {  struct
268 int unit; /* 127.127.30.unit */
269 struct refclockproc *pp;
270 struct peer *peer;
272 int ttyfd; /* TTY file descriptor */
273 int ppsfd; /* PPS file descriptor */
274 int shmemfd; /* Status shm descriptor */
275 pps_handle_t pps_h;
276 pps_params_t pps_p;
277 enum receive_state o_state; /* Receive state */
278 enum posn_mode mode; /* 0D, 2D, 3D */
279 enum site_survey_state site_survey; /* Site Survey state */
280 enum antenna_state ant_state; /* antenna state */
282 int Bj_day;
284 u_long delay; /* ns */
285 long offset; /* ns */
287 u_char *shmem;
288 char *shmem_fname;
289 u_int shmem_Cb;
290 u_int shmem_Ba;
291 u_int shmem_Ea;
292 u_int shmem_Ha;
293 u_char shmem_reset;
294 u_char shmem_Posn;
295 u_char shmem_bad_Ea;
296 u_char almanac_from_shmem;
298 double ss_lat;
299 double ss_long;
300 double ss_ht;
301 double dH;
302 int ss_count;
303 u_char posn_set;
305 enum oncore_model model;
306 u_int version;
307 u_int revision;
309 u_char chan; /* 6 for PVT6 or BASIC, 8 for UT/VP, 12 for m12, 0 if unknown */
310 …_char traim; /* do we have traim? yes UT/VP, M12+T, no BASIC, GT, M12, -1 unknown, 0 no, +1 yes */
312 u_char traim_delay; /* seconds counter, waiting for reply */
313 u_char count; /* cycles thru Ea before starting */
314 u_char count1; /* cycles thru Ea after SS_TESTING, waiting for SS_HW */
315 u_char count2; /* cycles thru Ea after count, to check for @@Ea */
316 u_char count3; /* cycles thru Ea checking for # channels */
317 u_char count4; /* cycles thru leap after Gj to issue Bj */
318 u_char count5; /* cycles thru get_timestamp waiting for valid UTC correction */
319 u_char count5_set; /* only set count5 once */
320 u_char counta; /* count for waiting on almanac message */
321 u_char pollcnt;
322 u_char timeout; /* count to retry Cj after Fa self-test */
323 u_char max_len; /* max length message seen by oncore_log, for debugging */
324 u_char max_count; /* count for message statistics */
326 struct RSM rsm; /* bits extracted from Receiver Status Msg in @@Ea */
327 struct Bl Bl; /* Satellite Broadcast Data Message */
328 u_char printed;
329 u_char polled;
330 u_long ev_serial;
331 unsigned Rcvptr;
332 u_char Rcvbuf[500];
333 u_char BEHa[160]; /* Ba, Ea or Ha */
334 u_char BEHn[80]; /* Bn , En , or Hn */
358 #define rcvbuf instance->Rcvbuf argument
595 register struct instance *instance; in oncore_start() local
779 register struct instance *instance; in oncore_shutdown() local
815 struct instance *instance; in oncore_poll() local
847 struct instance *instance in oncore_ppsapi()
932 struct instance *instance in oncore_init_shmem()
1084 struct instance *instance in oncore_read_config()
1433 struct instance *instance; in oncore_receive() local
1479 struct instance *instance in oncore_consume()
1576 struct instance *instance, in oncore_get_timestamp()
3377 struct instance *instance in oncore_check_antenna()
3418 struct instance *instance in oncore_check_leap_sec()
3483 struct instance *instance in oncore_compute_dH()
3517 struct instance *instance in oncore_load_almanac()
3639 struct instance *instance, in oncore_print_Cb()
3689 struct instance *instance in oncore_print_posn()
3750 struct instance *instance, in oncore_sendmsg()
3777 struct instance *instance in oncore_set_posn()
3845 struct instance *instance in oncore_set_traim()
3883 struct instance *instance in oncore_shmem_get_3D()
3927 struct instance *instance in oncore_ss()
3997 struct instance *instance in oncore_wait_almanac()
4042 struct instance *instance, in oncore_log()
4055 struct instance * instance, in oncore_log_f()