Lines Matching defs:host

151  * block all clnt_create's if we are trying to connect to a host that's down,
158 * cache of rpcbind addresses for (host, netid).
162 check_cache(char *host, char *netid)
170 if ((strcmp(cptr->ac_host, host) == 0) &&
207 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr)
216 ad_cache->ac_host = strdup(host);
287 getclnthandle(char *host, struct netconfig *nconf, char **targaddr)
289 return (_getclnthandle_timed(host, nconf, targaddr, NULL));
299 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr,
317 ad_cache = check_cache(host, nconf->nc_netid);
371 rpcbind_hs.h_host = host;
393 add_cache(host, nconf->nc_netid, addr, tmpaddr);
635 struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp)
709 client = _getclnthandle_timed(host, nconf_clts,
717 client = _getclnthandle_timed(host, nconf, &parms.r_addr, tp);
813 client = _getclnthandle_timed(host, nconf, &parms.r_addr, tp);
959 client = _getclnthandle_timed(host, newnconf,
1074 const struct netconfig *nconf, struct netbuf *address, const char *host)
1079 (struct netconfig *)nconf, (char *)host, NULL, NULL)) == NULL)
1102 rpcb_getmaps(const struct netconfig *nconf, const char *host)
1109 client = getclnthandle((char *)host,
1155 rpcb_rmtcall(const struct netconfig *nconf, const char *host,
1166 client = getclnthandle((char *)host, (struct netconfig *)nconf, NULL);
1217 * Gets the time on the remote host.
1221 rpcb_gettime(const char *host, time_t *timep)
1229 if ((host == NULL) || (host[0] == NULL)) {
1245 client = getclnthandle((char *)host, nconf, NULL);