Lines Matching refs:fprintf

296 		(void) fprintf(fp, "No data returned in response to query\n");
313 (void) fprintf(stderr,
332 (void) fprintf(fp, "No data returned in response to query\n");
336 (void) fprintf(fp, "Expected one item in response, got %lu\n",
385 (void) fprintf(fp, "%-9s %s\n",
460 (void) fprintf(fp,
462 (void) fprintf(fp,
497 (void) fprintf(fp,
537 fprintf(fp, " none\n");
542 fprintf(fp, " system_peer");
546 fprintf(fp, "%s config", dlim);
550 fprintf(fp, "%s refclock", dlim);
554 fprintf(fp, "%s auth", dlim);
558 fprintf(fp, "%s prefer", dlim);
562 fprintf(fp, "%s iburst", dlim);
566 fprintf(fp, "%s burst", dlim);
570 fprintf(fp, "%s candidate", dlim);
574 fprintf(fp, "%s shortlist", dlim);
577 fprintf(fp, "\n");
594 (void) fprintf(fp, "remote %s, local %s\n",
596 (void) fprintf(fp, "hmode %s, pmode %s, stratum %d, precision %d\n",
600 (void) fprintf(fp,
607 (void) fprintf(fp,
611 (void) fprintf(fp,
615 (void) fprintf(fp, "boffset %s, ttl/mode %d\n",
618 (void) fprintf(fp, "timer %lds, flags", (long)ntohl(pp->timer));
622 (void) fprintf(fp, "reference time: %s\n",
625 (void) fprintf(fp, "originate timestamp: %s\n",
628 (void) fprintf(fp, "receive timestamp: %s\n",
631 (void) fprintf(fp, "transmit timestamp: %s\n",
634 (void) fprintf(fp, "filter delay: ");
636 (void) fprintf(fp, " %-8.8s",
639 (void) fprintf(fp, "\n ");
641 (void) fprintf(fp, "\n");
643 (void) fprintf(fp, "filter offset:");
646 (void) fprintf(fp, " %-8.8s", lfptoa(&tempts, 6));
648 (void) fprintf(fp, "\n ");
650 (void) fprintf(fp, "\n");
652 (void) fprintf(fp, "filter order: ");
654 (void) fprintf(fp, " %-8d", pp->order[i]);
656 (void) fprintf(fp, "\n ");
658 (void) fprintf(fp, "\n");
662 (void) fprintf(fp,
703 fprintf(stderr,
737 fprintf(fp, "\n");
779 fprintf(stderr,
829 fprintf(fp, "remote host: %s\n",
831 fprintf(fp, "local interface: %s\n",
833 fprintf(fp, "time last received: %lus\n",
835 fprintf(fp, "time until next send: %lus\n",
837 fprintf(fp, "reachability change: %lus\n",
839 fprintf(fp, "packets sent: %lu\n",
841 fprintf(fp, "packets received: %lu\n",
843 fprintf(fp, "bad authentication: %lu\n",
845 fprintf(fp, "bogus origin: %lu\n",
847 fprintf(fp, "duplicate: %lu\n",
849 fprintf(fp, "bad dispersion: %lu\n",
851 fprintf(fp, "bad reference time: %lu\n",
853 fprintf(fp, "candidate order: %u\n",
856 fprintf(fp, "\n");
857 fprintf(fp, "flags: ");
886 (void) fprintf(stderr, "How many lines?\n");
916 (void) fprintf(fp,
924 (void) fprintf(fp, "offset: %s s\n",
927 (void) fprintf(fp, "frequency: %s ppm\n",
929 (void) fprintf(fp, "poll adjust: %ld\n",
931 (void) fprintf(fp, "watchdog timer: %ld s\n",
976 (void) fprintf(fp, "system peer: %s\n", nntohost(&peeraddr));
977 (void) fprintf(fp, "system peer mode: %s\n", modetoa(is->peer_mode));
978 (void) fprintf(fp, "leap indicator: %c%c\n",
981 (void) fprintf(fp, "stratum: %d\n", (int)is->stratum);
982 (void) fprintf(fp, "precision: %d\n", (int)is->precision);
983 (void) fprintf(fp, "root distance: %s s\n",
985 (void) fprintf(fp, "root dispersion: %s s\n",
987 (void) fprintf(fp, "reference ID: [%s]\n",
990 (void) fprintf(fp, "reference time: %s\n", prettydate(&tempts));
992 (void) fprintf(fp, "system flags: ");
996 (void) fprintf(fp, "none\n");
999 (void) fprintf(fp, "bclient ");
1001 (void) fprintf(fp, "auth ");
1003 (void) fprintf(fp, "monitor ");
1005 (void) fprintf(fp, "ntp ");
1007 (void) fprintf(fp, "kernel ");
1009 (void) fprintf(fp, "stats ");
1011 (void) fprintf(fp, "calibrate ");
1013 (void) fprintf(fp, "pps ");
1014 (void) fprintf(fp, "\n");
1016 (void) fprintf(fp, "jitter: %s s\n",
1018 (void) fprintf(fp, "stability: %s ppm\n",
1020 (void) fprintf(fp, "broadcastdelay: %s s\n",
1023 (void) fprintf(fp, "authdelay: %s s\n", lfptoa(&tempts, 6));
1064 fprintf(fp, "time since restart: %lu\n",
1066 fprintf(fp, "time since reset: %lu\n",
1068 fprintf(fp, "packets received: %lu\n",
1070 fprintf(fp, "packets processed: %lu\n",
1072 fprintf(fp, "current version: %lu\n",
1074 fprintf(fp, "previous version: %lu\n",
1076 fprintf(fp, "declined: %lu\n",
1078 fprintf(fp, "access denied: %lu\n",
1080 fprintf(fp, "bad length or format: %lu\n",
1082 fprintf(fp, "bad authentication: %lu\n",
1087 fprintf(fp, "rate exceeded: %lu\n",
1126 fprintf(fp, "time since reset: %lu\n",
1128 fprintf(fp, "receive buffers: %u\n",
1130 fprintf(fp, "free receive buffers: %u\n",
1132 fprintf(fp, "used receive buffers: %u\n",
1134 fprintf(fp, "low water refills: %u\n",
1136 fprintf(fp, "dropped packets: %lu\n",
1138 fprintf(fp, "ignored packets: %lu\n",
1140 fprintf(fp, "received packets: %lu\n",
1142 fprintf(fp, "packets sent: %lu\n",
1144 fprintf(fp, "packets not sent: %lu\n",
1146 fprintf(fp, "interrupts handled: %lu\n",
1148 fprintf(fp, "received by int: %lu\n",
1187 fprintf(fp, "time since reset: %lu\n",
1189 fprintf(fp, "total peer memory: %u\n",
1191 fprintf(fp, "free peer memory: %u\n",
1193 fprintf(fp, "calls to findpeer: %lu\n",
1195 fprintf(fp, "new peer allocations: %lu\n",
1197 fprintf(fp, "peer demobilizations: %lu\n",
1200 fprintf(fp, "hash table counts: ");
1202 fprintf(fp, "%4d", (int)mem->hashcount[i]);
1204 fprintf(fp, "\n ");
1206 fprintf(fp, "\n");
1244 fprintf(fp, "time since reset: %lu\n",
1246 fprintf(fp, "alarms handled: %lu\n",
1248 fprintf(fp, "alarm overruns: %lu\n",
1250 fprintf(fp, "calls to transmit: %lu\n",
1394 fprintf(fp, "*** '%s' not understood\n",
1400 fprintf(stderr,
1411 fprintf(fp, "***invalid version number: %u\n",
1418 fprintf(fp, "***min/max-poll must be within %d..%d\n",
1434 fprintf(stderr,
1459 (void) fprintf(fp,
1467 (void) fprintf(fp, "done!\n");
1505 fprintf(stderr,
1526 (void) fprintf(fp, "done!\n");
1592 (void) fprintf(fp, "Unknown flag %s\n",
1613 (void) fprintf(fp, "done!\n");
1711 fprintf(fp,
1713 fprintf(fp,
1771 fprintf(fp, "%-15.15s %-15.15s %9lu %s\n",
1860 fprintf(stderr,
1882 fprintf(fp,
1888 fprintf(fp, "Unknown flag %s\n",
1913 fprintf(fp, "Invalid mask %s\n",
1934 (void) fprintf(fp, "done!\n");
1991 fprintf(fp,
1993 fprintf(fp,
2000 fprintf(fp,
2018 fprintf(fp,
2020 fprintf(fp,
2027 fprintf(fp,
2043 fprintf(fp,
2045 fprintf(fp,
2049 fprintf(fp, "%-20.20s %5u %9lu %4u %3u %9lu %9lu\n",
2109 fprintf(fp, "Flag %s unknown\n",
2119 (void) fprintf(fp, "Not done due to errors\n");
2134 (void) fprintf(fp, "done!\n");
2173 fprintf(stderr,
2194 (void) fprintf(fp, "done!\n");
2223 (void) fprintf(fp, "done!\n");
2288 (void) fprintf(fp, "done!\n");
2327 fprintf(fp, "time since reset: %lu\n",
2329 fprintf(fp, "stored keys: %lu\n",
2331 fprintf(fp, "free keys: %lu\n",
2333 fprintf(fp, "key lookups: %lu\n",
2335 fprintf(fp, "keys not found: %lu\n",
2337 fprintf(fp, "uncached keys: %lu\n",
2339 fprintf(fp, "encryptions: %lu\n",
2341 fprintf(fp, "decryptions: %lu\n",
2343 fprintf(fp, "expired keys: %lu\n",
2387 fprintf(fp, "%saddress %s, port %d\n",
2392 fprintf(fp, "interface: %s, ",
2397 fprintf(fp, "configured\n");
2399 fprintf(fp, "low priority\n");
2401 fprintf(fp, "normal priority\n");
2403 fprintf(fp, "set for %ld secs, last set %ld secs ago\n",
2406 fprintf(fp, "sequence %d, number of resets %ld\n",
2467 fprintf(stderr,
2483 fprintf(stderr,
2504 (void) fprintf(fp, "done!\n");
2567 (void) fprintf(fp, "done!\n");
2606 fprintf(fp, "time since reset: %lu\n",
2608 fprintf(fp, "requests received: %lu\n",
2610 fprintf(fp, "responses sent: %lu\n",
2612 fprintf(fp, "fragments sent: %lu\n",
2614 fprintf(fp, "async messages sent: %lu\n",
2616 fprintf(fp, "error msgs sent: %lu\n",
2618 fprintf(fp, "total bad pkts: %lu\n",
2620 fprintf(fp, "packet too short: %lu\n",
2622 fprintf(fp, "response on input: %lu\n",
2624 fprintf(fp, "fragment on input: %lu\n",
2626 fprintf(fp, "error set on input: %lu\n",
2628 fprintf(fp, "bad offset on input: %lu\n",
2630 fprintf(fp, "bad version packets: %lu\n",
2632 fprintf(fp, "data in pkt too short: %lu\n",
2634 fprintf(fp, "unknown op codes: %lu\n",
2683 (void) fprintf(fp, "clock address: %s\n",
2689 (void) fprintf(fp, "clock type: %s\n",
2692 (void) fprintf(fp, "clock type: unknown type (%d)\n",
2694 (void) fprintf(fp, "last event: %d\n",
2696 (void) fprintf(fp, "current status: %d\n",
2698 (void) fprintf(fp, "number of polls: %lu\n",
2700 (void) fprintf(fp, "no response to poll: %lu\n",
2702 (void) fprintf(fp, "bad format responses: %lu\n",
2704 (void) fprintf(fp, "bad data responses: %lu\n",
2706 (void) fprintf(fp, "running time: %lu\n",
2709 (void) fprintf(fp, "fudge time 1: %s\n",
2712 (void) fprintf(fp, "fudge time 2: %s\n",
2714 (void) fprintf(fp, "stratum: %ld\n",
2716 (void) fprintf(fp, "reference ID: %s\n",
2718 (void) fprintf(fp, "fudge flags: 0x%x\n",
2722 (void) fprintf(fp, "\n");
2783 (void) fprintf(stderr, "What fudge is %s?\n",
2789 (void) fprintf(stderr, "Unknown fudge parameter %s\n",
2805 (void) fprintf(fp, "done!\n");
2857 (void) fprintf(fp, "clock address: %s\n",
2860 (void) fprintf(fp, "values: %d", n);
2868 (void) fprintf(fp, "\n");
2870 (void) fprintf(fp, "%12ld", (u_long)ltemp);
2872 (void) fprintf(fp, "%12lu", (u_long)ltemp);
2874 (void) fprintf(fp, "\n");
2877 (void) fprintf(fp, "times: %d", n);
2884 (void) fprintf(fp, "\n");
2891 (void) fprintf(fp, "%17s",
2895 (void) fprintf(fp, "%37s",
2900 (void) fprintf(fp, "\n");
2903 (void) fprintf(fp, "\n");
2950 (void)fprintf(fp, "pll offset: %g s\n",
2952 (void)fprintf(fp, "pll frequency: %s ppm\n",
2954 (void)fprintf(fp, "maximum error: %g s\n",
2956 (void)fprintf(fp, "estimated error: %g s\n",
2958 (void)fprintf(fp, "status: %04x ", status);
2960 if (status & STA_PLL) (void)fprintf(fp, " pll");
2963 if (status & STA_PPSFREQ) (void)fprintf(fp, " ppsfreq");
2966 if (status & STA_PPSTIME) (void)fprintf(fp, " ppstime");
2969 if (status & STA_FLL) (void)fprintf(fp, " fll");
2972 if (status & STA_INS) (void)fprintf(fp, " ins");
2975 if (status & STA_DEL) (void)fprintf(fp, " del");
2978 if (status & STA_UNSYNC) (void)fprintf(fp, " unsync");
2981 if (status & STA_FREQHOLD) (void)fprintf(fp, " freqhold");
2984 if (status & STA_PPSSIGNAL) (void)fprintf(fp, " ppssignal");
2987 if (status & STA_PPSJITTER) (void)fprintf(fp, " ppsjitter");
2990 if (status & STA_PPSWANDER) (void)fprintf(fp, " ppswander");
2993 if (status & STA_PPSERROR) (void)fprintf(fp, " ppserror");
2996 if (status & STA_CLOCKERR) (void)fprintf(fp, " clockerr");
2999 if (status & STA_NANO) (void)fprintf(fp, " nano");
3002 if (status & STA_MODE) (void)fprintf(fp, " mode=fll");
3005 if (status & STA_CLK) (void)fprintf(fp, " src=B");
3007 (void)fprintf(fp, "\n");
3008 (void)fprintf(fp, "pll time constant: %ld\n",
3010 (void)fprintf(fp, "precision: %g s\n",
3012 (void)fprintf(fp, "frequency tolerance: %s ppm\n",
3025 (void)fprintf(fp, "pps frequency: %s ppm\n",
3027 (void)fprintf(fp, "pps stability: %s ppm\n",
3029 (void)fprintf(fp, "pps jitter: %g s\n",
3031 (void)fprintf(fp, "calibration interval: %d s\n",
3033 (void)fprintf(fp, "calibration cycles: %ld\n",
3035 (void)fprintf(fp, "jitter exceeded: %ld\n",
3037 (void)fprintf(fp, "stability exceeded: %ld\n",
3039 (void)fprintf(fp, "calibration errors: %ld\n",
3070 fprintf(fp, IF_LIST_FMT_STR, IF_LIST_LABELS);
3071 fprintf(fp, IF_LIST_LINE);
3076 fprintf(fp, IF_LIST_FMT,
3094 fprintf(fp, IF_LIST_AFMT_STR, stoa(&saddr), 'M');
3099 fprintf(fp, IF_LIST_AFMT_STR, stoa(&saddr), 'B');