Searched refs:currenthost (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ntp/ntpdc/ |
H A D | ntpdc.c | 176 static char currenthost[LENHOSTNAME]; /* current host name */ variable 506 printf("Closing old host %s\n", currenthost); in openhost() 510 strlcpy(currenthost, temphost, sizeof(currenthost)); in openhost() 585 warning("write to %s failed", currenthost); in sendpkt() 689 currenthost); in getresponse() 694 currenthost); in getresponse() 1699 (void) fprintf(fp, "current host is %s\n", currenthost); in host() 1714 "current host remains %s\n", currenthost); in host() 1722 (void) fprintf(fp, "current host set to %s\n", currenthost); in host() 1726 "current host remains %s\n", currenthost); in host()
|
/freebsd/contrib/ntp/ntpq/ |
H A D | libntpq.c | 432 fprintf(stderr, "server=%s ", currenthost); in ntpq_read_assoc_peervars() 491 fprintf(stderr, "server=%s ", currenthost); in ntpq_read_sysvars()
|
H A D | ntpq.c | 360 char currenthost[LENHOSTNAME]; /* current host name */ 775 printf("Closing old host %s\n", currenthost); in openhost() 779 strlcpy(currenthost, temphost, sizeof(currenthost)); in openhost() 910 warning("write to %s failed", currenthost); in sendpkt() 1029 currenthost); in getresponse() 1035 currenthost); in getresponse() 1435 fprintf(stderr, "server=%s ", currenthost); in show_error_msg() 2532 currenthost); in host() 2550 fprintf(fp, "current host set to %s\n", currenthost); in host() 364 char currenthost[LENHOSTNAME]; /* current host name */ global() variable [all...] |
H A D | ntpq-subs.c | 13 extern char currenthost[]; 751 xprintf(fp, "server=%s ", currenthost); in dolist() 832 (void) xprintf(fp, "server=%s ", currenthost); in writelist() 917 xprintf(fp, "server=%s ", currenthost); in writevar() 1128 xprintf(fp, "server=%s ", currenthost); in dogetassoc() 1135 xprintf(stderr, "server=%s ", currenthost); in dogetassoc() 1487 (void) xprintf(fp, "server=%s ", currenthost); in radiostatus() 1915 serverlocal = trunc_left(currenthost, in doprintpeers() 1918 serverlocal = currenthost; in doprintpeers() 2003 xprintf(stderr, "server=%s ", currenthost); in dogetpeers() [all...] |