Lines Matching defs:host

147  * block all clnt_create's if we are trying to connect to a host that's down,
154 * cache of rpcbind addresses for (host, netid).
158 check_cache(char *host, char *netid)
166 if ((strcmp(cptr->ac_host, host) == 0) &&
171 host, netid);
207 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr)
216 ad_cache->ac_host = strdup(host);
233 (void) fprintf(stderr, "Added to cache: %s : %s\n", host, netid);
294 getclnthandle(char *host, struct netconfig *nconf, char **targaddr)
296 return (_getclnthandle_timed(host, nconf, targaddr, NULL));
306 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr,
324 ad_cache = check_cache(host, nconf->nc_netid);
378 rpcbind_hs.h_host = host;
427 add_cache(host, nconf->nc_netid, addr, tmpaddr);
703 struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp)
776 client = _getclnthandle_timed(host, newnconf,
780 client = _getclnthandle_timed(host, nconf,
879 client = _getclnthandle_timed(host,
954 client = _getclnthandle_timed(host, nconf, &parms.r_addr, tp);
1057 const struct netconfig *nconf, struct netbuf *address, const char *host)
1062 (struct netconfig *)nconf, (char *)host, NULL, NULL)) == NULL)
1085 rpcb_getmaps(const struct netconfig *nconf, const char *host)
1092 client = getclnthandle((char *)host,
1138 rpcb_rmtcall(const struct netconfig *nconf, const char *host,
1149 client = getclnthandle((char *)host, (struct netconfig *)nconf, NULL);
1200 * Gets the time on the remote host.
1204 rpcb_gettime(const char *host, time_t *timep)
1212 if ((host == NULL) || (host[0] == NULL)) {
1228 client = getclnthandle((char *)host, nconf, NULL);