Lines Matching refs:nconf
287 getclnthandle(char *host, struct netconfig *nconf, char **targaddr) in getclnthandle() argument
289 return (_getclnthandle_timed(host, nconf, targaddr, NULL)); in getclnthandle()
299 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr, in _getclnthandle_timed() argument
317 ad_cache = check_cache(host, nconf->nc_netid); in _getclnthandle_timed()
320 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr, in _getclnthandle_timed()
374 if ((neterr = netdir_getbyname(nconf, &rpcbind_hs, &nas)) != 0) { in _getclnthandle_timed()
385 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr, RPCBPROG, in _getclnthandle_timed()
392 tmpaddr = targaddr ? taddr2uaddr(nconf, addr) : NULL; in _getclnthandle_timed()
393 add_cache(host, nconf->nc_netid, addr, tmpaddr); in _getclnthandle_timed()
415 struct netconfig *nconf, *tmpnconf = NULL; in local_rpcb() local
425 while (nconf = getnetconfig(nc_handle)) { in local_rpcb()
426 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { in local_rpcb()
427 tmpnconf = nconf; in local_rpcb()
428 if (nconf->nc_semantics == NC_TPI_CLTS) in local_rpcb()
451 const struct netconfig *nconf, const struct netbuf *address) in rpcb_set() argument
459 if (nconf == NULL) { in rpcb_set()
471 parms.r_addr = taddr2uaddr((struct netconfig *)nconf, in rpcb_set()
479 parms.r_netid = nconf->nc_netid; in rpcb_set()
504 const struct netconfig *nconf) in rpcb_unset() argument
517 if (nconf) in rpcb_unset()
518 parms.r_netid = nconf->nc_netid; in rpcb_unset()
536 got_entry(rpcb_entry_list_ptr relp, struct netconfig *nconf) in got_entry() argument
544 if ((strcmp(nconf->nc_proto, rmap->r_nc_proto) == 0) && in got_entry()
545 (strcmp(nconf->nc_protofmly, rmap->r_nc_protofmly) == 0) && in got_entry()
546 (nconf->nc_semantics == rmap->r_nc_semantics) && in got_entry()
548 na = uaddr2taddr(nconf, rmap->r_maddr); in got_entry()
635 struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp) in __rpcb_findaddr_timed() argument
649 if (nconf == NULL) { in __rpcb_findaddr_timed()
671 if (check_rpcbind && strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { in __rpcb_findaddr_timed()
688 parms.r_netid = nconf->nc_netid; /* not really needed */ in __rpcb_findaddr_timed()
694 if (nconf->nc_semantics == NC_TPI_COTS_ORD || in __rpcb_findaddr_timed()
695 nconf->nc_semantics == NC_TPI_COTS) { in __rpcb_findaddr_timed()
702 nconf->nc_protofmly) != 0) { in __rpcb_findaddr_timed()
717 client = _getclnthandle_timed(host, nconf, &parms.r_addr, tp); in __rpcb_findaddr_timed()
753 address = got_entry(relp, nconf); in __rpcb_findaddr_timed()
813 client = _getclnthandle_timed(host, nconf, &parms.r_addr, tp); in __rpcb_findaddr_timed()
844 address = uaddr2taddr(nconf, ua); in __rpcb_findaddr_timed()
902 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in __rpcb_findaddr_timed()
912 if (strcmp(nconf->nc_proto, NC_TCP) == 0) { in __rpcb_findaddr_timed()
954 nconf->nc_protofmly) == 0) in __rpcb_findaddr_timed()
982 pmapparms.pm_prot = (strcmp(nconf->nc_proto, NC_TCP) != 0) ? in __rpcb_findaddr_timed()
1074 const struct netconfig *nconf, struct netbuf *address, const char *host) in rpcb_getaddr() argument
1079 (struct netconfig *)nconf, (char *)host, NULL, NULL)) == NULL) in rpcb_getaddr()
1102 rpcb_getmaps(const struct netconfig *nconf, const char *host) in rpcb_getmaps() argument
1110 (struct netconfig *)nconf, NULL); in rpcb_getmaps()
1155 rpcb_rmtcall(const struct netconfig *nconf, const char *host, in rpcb_rmtcall() argument
1166 client = getclnthandle((char *)host, (struct netconfig *)nconf, NULL); in rpcb_rmtcall()
1187 na = uaddr2taddr((struct netconfig *)nconf, r.addr); in rpcb_rmtcall()
1225 struct netconfig *nconf; in rpcb_gettime() local
1240 if ((nconf = __rpc_getconf(handle)) == NULL) { in rpcb_gettime()
1245 client = getclnthandle((char *)host, nconf, NULL); in rpcb_gettime()
1278 rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr) in rpcb_taddr2uaddr() argument
1284 if (nconf == NULL) { in rpcb_taddr2uaddr()
1308 rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr) in rpcb_uaddr2taddr() argument
1314 if (nconf == NULL) { in rpcb_uaddr2taddr()