Searched refs:nhs (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_all.c111 struct nd_hostservlist *nhs; local
114 &nhs, pdomb->dom_binding->ypbind_svcaddr) != ND_OK) {
125 (char *)strdup(nhs->h_hostservs->h_host);
130 netdir_free((char *)nhs, ND_HOSTSERVLIST);
241 struct nd_hostservlist *nhs; local
244 &nhs, pdomb->dom_binding->ypbind_svcaddr) != ND_OK) {
256 (char *)strdup(nhs->h_hostservs->h_host);
261 netdir_free((char *)nhs, ND_HOSTSERVLIST);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyppoll.c367 struct nd_hostservlist *nhs; local
371 if (netdir_getbyaddr(nconf, &nhs, svcaddr) != ND_OK) {
378 sprintf(hostbuf, "%s", nhs->h_hostservs->h_host);
381 netdir_free((char *)nhs, ND_HOSTSERVLIST);
H A Dypwhich.c435 struct nd_hostservlist *nhs = NULL; local
441 if (netdir_getbyaddr(nconf, &nhs, svcaddr) != ND_OK) {
486 str = nhs->h_hostservs->h_host;
491 netdir_free((char *)nhs, ND_HOSTSERVLIST);

Completed in 60 milliseconds