Lines Matching defs:nconf

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