Lines Matching defs:clock_stat
2476 struct refclockstat clock_stat;
2500 clock_stat.kv_list = (struct ctl_var *)0;
2502 refclock_control(&addr, NULL, &clock_stat);
2505 ic->type = clock_stat.type;
2506 ic->flags = clock_stat.flags;
2507 ic->lastevent = clock_stat.lastevent;
2508 ic->currentstatus = clock_stat.currentstatus;
2509 ic->polls = htonl((u_int32)clock_stat.polls);
2510 ic->noresponse = htonl((u_int32)clock_stat.noresponse);
2511 ic->badformat = htonl((u_int32)clock_stat.badformat);
2512 ic->baddata = htonl((u_int32)clock_stat.baddata);
2513 ic->timestarted = htonl((u_int32)clock_stat.timereset);
2514 DTOLFP(clock_stat.fudgetime1, <mp);
2516 DTOLFP(clock_stat.fudgetime2, <mp);
2518 ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1);
2519 ic->fudgeval2 = htonl(clock_stat.fudgeval2);
2521 free_varlist(clock_stat.kv_list);
2542 struct refclockstat clock_stat;
2547 ZERO(clock_stat);
2567 LFPTOD(<mp, clock_stat.fudgetime1);
2568 clock_stat.haveflags = CLK_HAVETIME1;
2572 LFPTOD(<mp, clock_stat.fudgetime2);
2573 clock_stat.haveflags = CLK_HAVETIME2;
2576 clock_stat.fudgeval1 = ntohl(cf->fudgeval_flags);
2577 clock_stat.haveflags = CLK_HAVEVAL1;
2580 clock_stat.fudgeval2 = ntohl(cf->fudgeval_flags);
2581 clock_stat.haveflags = CLK_HAVEVAL2;
2584 clock_stat.flags = (u_char) (ntohl(cf->fudgeval_flags) & 0xf);
2585 clock_stat.haveflags =
2594 refclock_control(&addr, &clock_stat, (struct refclockstat *)0);