Searched refs:hostn (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/usr.sbin/pnfsdsfile/
H A Dpnfsdsfile.c73 char hostn[2 * NI_MAXHOST + 2], *cp; local
96 strlcpy(hostn, optarg, 2 * NI_MAXHOST + 2);
97 cp = strchr(hostn, ',');
99 errx(1, "Bad -c argument %s", hostn);
101 if (getaddrinfo(hostn, NULL, NULL, &res) != 0)
102 errx(1, "Can't get IP# for %s", hostn);
319 dsfile[i].dsf_sin.sin_len, hostn, sizeof(hostn),
322 printf("%s\tds%d/%s", hostn, dsfile[i].dsf_dir,
/freebsd-13-stable/contrib/ntp/ntpq/
H A Dntpq.c2030 const char * hostn; local
2038 hostn = socktohost(netnum);
2040 snprintf(buf, LIB_BUFLENGTH, "%s:%u", hostn, SRCPORT(netnum));

Completed in 145 milliseconds