Lines Matching refs:host

163  * block all clnt_create's if we are trying to connect to a host that's down,
172 * cache of rpcbind addresses for (host, netid).
176 check_cache(host, netid)
177 const char *host, *netid;
181 _DIAGASSERT(host != NULL);
187 if (!strcmp(cptr->ac_host, host) &&
191 host, netid);
229 add_cache(host, netid, taddr, uaddr)
230 const char *host, *netid;
236 _DIAGASSERT(host != NULL);
245 ad_cache->ac_host = strdup(host);
270 fprintf(stderr, "Added to cache: %s : %s\n", host, netid);
318 getclnthandle(host, nconf, targaddr)
319 const char *host;
331 _DIAGASSERT(host != NULL);
342 ad_cache = check_cache(host, nconf->nc_netid);
387 if (getaddrinfo(host, "sunrpc", &hints, &res) != 0) {
428 add_cache(host, nconf->nc_netid, &taddr, tmpaddr);
694 __rpcb_findaddr(program, version, nconf, host, clpp)
698 const char *host;
711 _DIAGASSERT(host != NULL);
741 client = getclnthandle(host, newnconf, &parms.r_addr);
744 client = getclnthandle(host, nconf, &parms.r_addr);
843 client = getclnthandle(host, nconf_clts,
914 client = getclnthandle(host, nconf, &parms.r_addr);
1000 rpcb_getaddr(program, version, nconf, address, host)
1005 const char *host;
1012 host, NULL)) == NULL)
1037 rpcb_getmaps(nconf, host)
1039 const char *host;
1046 client = getclnthandle(host, nconf, NULL);
1089 rpcb_rmtcall(nconf, host, prog, vers, proc, xdrargs, argsp,
1092 const char *host; /* Remote host name */
1110 client = getclnthandle(host, nconf, NULL);
1163 * Gets the time on the remote host.
1167 rpcb_gettime(host, timep)
1168 const char *host;
1178 if ((host == NULL) || (host[0] == 0)) {
1194 client = getclnthandle(host, nconf, NULL);