Searched refs:hostn (Results 1 – 2 of 2) sorted by relevance
| /src/usr.sbin/pnfsdsfile/ |
| H A D | pnfsdsfile.c | 71 char hostn[2 * NI_MAXHOST + 2], *cp; in main() local 94 strlcpy(hostn, optarg, 2 * NI_MAXHOST + 2); in main() 95 cp = strchr(hostn, ','); in main() 97 errx(1, "Bad -c argument %s", hostn); in main() 99 if (getaddrinfo(hostn, NULL, NULL, &res) != 0) in main() 100 errx(1, "Can't get IP# for %s", hostn); in main() 317 dsfile[i].dsf_sin.sin_len, hostn, sizeof(hostn), in main() 320 printf("%s\tds%d/%s", hostn, dsfile[i].dsf_dir, in main()
|
| /src/contrib/ntp/ntpq/ |
| H A D | ntpq.c | 2075 const char * hostn; in nntohostp() local 2083 hostn = socktohost(netnum); in nntohostp() 2085 snprintf(buf, LIB_BUFLENGTH, "%s:%u", hostn, SRCPORT(netnum)); in nntohostp()
|