Home | History | Annotate | Download | only in rpcinfo

Lines Matching defs:nconf

558 	struct netconfig *nconf;
566 if ((nconf = __rpc_getconfip("udp")) == NULL &&
567 (nconf = __rpc_getconfip("tcp")) == NULL) {
580 (void)freenetconfigent(nconf);
599 struct netconfig *nconf /* On which transport the reply came */
614 if (!(uaddr = uf = taddr2uaddr(nconf, who))) {
703 struct netconfig *nconf;
705 nconf = getnetconfigent(netid);
706 if (nconf == NULL)
709 client = getclnthandle(host, nconf, RPCBVERS, NULL);
710 if (nconf)
711 (void)freenetconfigent(nconf);
911 struct netconfig *nconf;
913 nconf = getnetconfigent(netid);
914 if (nconf == NULL)
916 client = getclnthandle(host, nconf, RPCBVERS4, &targaddr);
917 if (nconf)
918 (void)freenetconfigent(nconf);
937 struct netconfig *nconf;
939 nconf = getnetconfigent(client->cl_netid);
940 if (nconf != NULL) {
941 parms.r_addr = taddr2uaddr(nconf, targaddr);
944 freenetconfigent(nconf);
1234 struct netconfig *nconf = NULL;
1239 nconf = getnetconfigent(netid);
1240 if (nconf == NULL)
1243 if ((rpcb_unset(getprognum(argv[0]), getvers(argv[1]), nconf)) == 0)
1249 * Create and return a handle for the given nconf.
1253 clnt_addr_create(const char *address, const struct netconfig *nconf,
1261 if ((fd = __rpc_nconf2fd(nconf)) == -1) {
1267 nbuf = uaddr2taddr(nconf, address);
1271 client = clnt_tli_create(fd, nconf, nbuf, prog, vers, 0, 0);
1294 struct netconfig *nconf;
1299 nconf = getnetconfigent(netid);
1300 if (nconf == NULL)
1314 client = clnt_addr_create(address, nconf, prognum, versnum);
1339 client = clnt_addr_create(address, nconf, prognum, MAX_VERS);
1365 client = clnt_addr_create(address, nconf, prognum, versnum);
1394 struct netconfig *nconf;
1409 nconf = getnetconfigent(netid);
1410 if (nconf == NULL)
1412 client = clnt_tp_create(argv[0], prognum, versnum, nconf);
1597 struct netconfig *nconf;
1606 if ((nconf = __rpc_getconf(handle)) == NULL) {
1611 clnt = getclnthandle(host, nconf, rpcbversnum,
1622 getclnthandle(const char *host, const struct netconfig *nconf,
1637 client = clnt_tli_create(RPC_ANYFD, nconf, &addr, RPCBPROG,