Lines Matching defs:clock_stat
2505 struct refclockstat clock_stat;
2529 clock_stat.kv_list = (struct ctl_var *)0;
2531 refclock_control(&addr, NULL, &clock_stat);
2534 ic->type = clock_stat.type;
2535 ic->flags = clock_stat.flags;
2536 ic->lastevent = clock_stat.lastevent;
2537 ic->currentstatus = clock_stat.currentstatus;
2538 ic->polls = htonl((u_int32)clock_stat.polls);
2539 ic->noresponse = htonl((u_int32)clock_stat.noresponse);
2540 ic->badformat = htonl((u_int32)clock_stat.badformat);
2541 ic->baddata = htonl((u_int32)clock_stat.baddata);
2542 ic->timestarted = htonl((u_int32)clock_stat.timereset);
2543 DTOLFP(clock_stat.fudgetime1, <mp);
2545 DTOLFP(clock_stat.fudgetime2, <mp);
2547 ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1);
2553 ic->fudgeval2 = htonl(clock_stat.fudgeval2);
2555 ic->fudgeval2 = clock_stat.fudgeval2;
2558 free_varlist(clock_stat.kv_list);
2579 struct refclockstat clock_stat;
2584 ZERO(clock_stat);
2604 LFPTOD(<mp, clock_stat.fudgetime1);
2605 clock_stat.haveflags = CLK_HAVETIME1;
2609 LFPTOD(<mp, clock_stat.fudgetime2);
2610 clock_stat.haveflags = CLK_HAVETIME2;
2613 clock_stat.fudgeval1 = ntohl(cf->fudgeval_flags);
2614 clock_stat.haveflags = CLK_HAVEVAL1;
2617 clock_stat.fudgeval2 = ntohl(cf->fudgeval_flags);
2618 clock_stat.haveflags = CLK_HAVEVAL2;
2621 clock_stat.flags = (u_char) (ntohl(cf->fudgeval_flags) & 0xf);
2622 clock_stat.haveflags =
2631 refclock_control(&addr, &clock_stat, (struct refclockstat *)0);