Searched refs:nhs (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/lib/libnsl/yp/ |
H A D | yp_all.c | 111 struct nd_hostservlist *nhs; in __yp_all_cflookup() local 114 &nhs, pdomb->dom_binding->ypbind_svcaddr) != ND_OK) { in __yp_all_cflookup() 125 (char *)strdup(nhs->h_hostservs->h_host); in __yp_all_cflookup() 130 netdir_free((char *)nhs, ND_HOSTSERVLIST); in __yp_all_cflookup() 241 struct nd_hostservlist *nhs; in __yp_all_rsvdport() local 244 &nhs, pdomb->dom_binding->ypbind_svcaddr) != ND_OK) { in __yp_all_rsvdport() 256 (char *)strdup(nhs->h_hostservs->h_host); in __yp_all_rsvdport() 261 netdir_free((char *)nhs, ND_HOSTSERVLIST); in __yp_all_rsvdport()
|
/titanic_50/usr/src/cmd/ypcmd/ |
H A D | yppoll.c | 367 struct nd_hostservlist *nhs; in getypserv() local 371 if (netdir_getbyaddr(nconf, &nhs, svcaddr) != ND_OK) { in getypserv() 378 sprintf(hostbuf, "%s", nhs->h_hostservs->h_host); in getypserv() 381 netdir_free((char *)nhs, ND_HOSTSERVLIST); in getypserv()
|
H A D | ypwhich.c | 435 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);
|