Lines Matching refs:clock_stat
2498 struct refclockstat clock_stat;
2522 clock_stat.kv_list = (struct ctl_var *)0;
2524 refclock_control(&addr, NULL, &clock_stat);
2527 ic->type = clock_stat.type;
2528 ic->flags = clock_stat.flags;
2529 ic->lastevent = clock_stat.lastevent;
2530 ic->currentstatus = clock_stat.currentstatus;
2531 ic->polls = htonl((u_int32)clock_stat.polls);
2532 ic->noresponse = htonl((u_int32)clock_stat.noresponse);
2533 ic->badformat = htonl((u_int32)clock_stat.badformat);
2534 ic->baddata = htonl((u_int32)clock_stat.baddata);
2535 ic->timestarted = htonl((u_int32)clock_stat.timereset);
2536 DTOLFP(clock_stat.fudgetime1, <mp);
2538 DTOLFP(clock_stat.fudgetime2, <mp);
2540 ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1);
2546 ic->fudgeval2 = htonl(clock_stat.fudgeval2);
2548 ic->fudgeval2 = clock_stat.fudgeval2;
2551 free_varlist(clock_stat.kv_list);
2572 struct refclockstat clock_stat;
2577 ZERO(clock_stat);
2597 LFPTOD(<mp, clock_stat.fudgetime1);
2598 clock_stat.haveflags = CLK_HAVETIME1;
2602 LFPTOD(<mp, clock_stat.fudgetime2);
2603 clock_stat.haveflags = CLK_HAVETIME2;
2606 clock_stat.fudgeval1 = ntohl(cf->fudgeval_flags);
2607 clock_stat.haveflags = CLK_HAVEVAL1;
2610 clock_stat.fudgeval2 = ntohl(cf->fudgeval_flags);
2611 clock_stat.haveflags = CLK_HAVEVAL2;
2614 clock_stat.flags = (u_char) (ntohl(cf->fudgeval_flags) & 0xf);
2615 clock_stat.haveflags =
2624 refclock_control(&addr, &clock_stat, (struct refclockstat *)0);