Lines Matching refs: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) &&
175 host, netid);
211 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr)
220 ad_cache->ac_host = strdup(host);
237 (void) fprintf(stderr, "Added to cache: %s : %s\n", host, netid);
298 getclnthandle(char *host, struct netconfig *nconf, char **targaddr)
300 return (_getclnthandle_timed(host, nconf, targaddr, NULL));
310 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr,
328 ad_cache = check_cache(host, nconf->nc_netid);
382 rpcbind_hs.h_host = host;
431 add_cache(host, nconf->nc_netid, addr, tmpaddr);
708 struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp)
781 client = _getclnthandle_timed(host, newnconf,
785 client = _getclnthandle_timed(host, nconf,
884 client = _getclnthandle_timed(host,
959 client = _getclnthandle_timed(host, nconf, &parms.r_addr, tp);
1062 const struct netconfig *nconf, struct netbuf *address, const char *host)
1067 (struct netconfig *)nconf, (char *)host, NULL, NULL)) == NULL)
1090 rpcb_getmaps(const struct netconfig *nconf, const char *host)
1097 client = getclnthandle((char *)host,
1143 rpcb_rmtcall(const struct netconfig *nconf, const char *host,
1154 client = getclnthandle((char *)host, (struct netconfig *)nconf, NULL);
1205 * Gets the time on the remote host.
1209 rpcb_gettime(const char *host, time_t *timep)
1217 if ((host == NULL) || (host[0] == NULL)) {
1233 client = getclnthandle((char *)host, nconf, NULL);