FreeBSD/contrib/ntp/ntpq/ntpq-subs.c
/*
 * kerninfo - modeled on ntpdc's kerninfo
 */
modeled on ntpdc's kerninfo
modeled on ntpdc ' s kerninfo
static void
kerninfo(
	struct parse *pcmd,
	FILE *fp
	)
{
    static vdc kerninfo_vdc[] = {
	VDC_INIT("koffset",		"pll offset:          ", NTP_STR),
	VDC_INIT("kfreq",		"pll frequency:       ", NTP_STR),
	VDC_INIT("kmaxerr",		"maximum error:       ", NTP_STR),
	VDC_INIT("kesterr",		"estimated error:     ", NTP_STR),
	VDC_INIT("kstflags",		"kernel status:       ", NTP_STR),
	VDC_INIT("ktimeconst",		"pll time constant:   ", NTP_STR),
	VDC_INIT("kprecis",		"precision:           ", NTP_STR),
	VDC_INIT("kfreqtol",		"frequency tolerance: ", NTP_STR),
	VDC_INIT("kppsfreq",		"pps frequency:       ", NTP_STR),
	VDC_INIT("kppsstab",		"pps stability:       ", NTP_STR),
	VDC_INIT("kppsjitter",		"pps jitter:          ", NTP_STR),
	VDC_INIT("kppscalibdur",	"calibration interval ", NTP_STR),
	VDC_INIT("kppscalibs",		"calibration cycles:  ", NTP_STR),
	VDC_INIT("kppsjitexc",		"jitter exceeded:     ", NTP_STR),
	VDC_INIT("kppsstbexc",		"stability exceeded:  ", NTP_STR),
	VDC_INIT("kppscaliberrs",	"calibration errors:  ", NTP_STR),
	VDC_INIT(NULL,			NULL,			 0)
    };
	collect_display_vdc(0, kerninfo_vdc, TRUE, fp);
}
static void kerninfo ( struct parse * pcmd , FILE * fp ) { static vdc kerninfo_vdc [ ] = { VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( " " , " " , NTP_STR ) , VDC_INIT ( NULL , NULL , 0 ) } ; collect_display_vdc ( 0 , kerninfo_vdc , TRUE , fp ) ; }
kerninfo - modeled on ntpdc's kerninfo
kerninfo - modeled on ntpdc ' s kerninfo