Lines Matching defs:nconf

100 			struct netconfig *nconf*/);
105 static CLIENT *clnt_addr_create(/* char *addr, struct netconfig *nconf,
108 static CLIENT *getclnthandle(/* host, nconf, rpcbversnum */);
571 struct netconfig *nconf;
579 if ((nconf = __rpc_getconfip("udp")) == NULL &&
580 (nconf = __rpc_getconfip("tcp")) == NULL) {
587 if (netdir_getbyname(nconf, &service, &naddrs)) {
596 (void) freenetconfigent(nconf);
612 reply_proc(res, who, nconf)
615 struct netconfig *nconf; /* On which transport the reply came */
621 if (netdir_getbyaddr(nconf, &serv, who)) {
626 if (!(uaddr = taddr2uaddr(nconf, who))) {
743 struct netconfig *nconf;
745 nconf = getnetconfigent(netid);
746 if (nconf == NULL) {
750 client = getclnthandle(host, nconf, RPCBVERS, NULL);
751 if (nconf)
752 (void) freenetconfigent(nconf);
968 struct netconfig *nconf;
970 nconf = getnetconfigent(netid);
971 if (nconf == NULL) {
975 client = getclnthandle(host, nconf, RPCBVERS4, &targaddr);
976 if (nconf)
977 (void) freenetconfigent(nconf);
997 struct netconfig *nconf;
999 nconf = getnetconfigent(client->cl_netid);
1000 if (nconf != NULL) {
1001 parms.r_addr = taddr2uaddr(nconf, targaddr);
1004 freenetconfigent(nconf);
1300 struct netconfig *nconf = NULL;
1307 nconf = getnetconfigent(netid);
1308 if (nconf == NULL) {
1314 if ((rpcb_unset(getprognum(argv[0]), getvers(argv[1]), nconf)) == 0) {
1323 * Create and return a handle for the given nconf.
1327 clnt_addr_create(address, nconf, prog, vers)
1329 struct netconfig *nconf;
1339 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) {
1346 nbuf = uaddr2taddr(nconf, address);
1352 client = clnt_tli_create(fd, nconf, nbuf, prog, vers, 0, 0);
1379 struct netconfig *nconf;
1386 nconf = getnetconfigent(netid);
1387 if (nconf == (struct netconfig *)NULL) {
1403 client = clnt_addr_create(address, nconf, prognum, versnum);
1429 client = clnt_addr_create(address, nconf, prognum, MAX_VERS);
1456 client = clnt_addr_create(address, nconf, prognum, versnum);
1487 struct netconfig *nconf;
1504 nconf = getnetconfigent(netid);
1505 if (nconf == (struct netconfig *)NULL) {
1510 client = clnt_tp_create(argv[0], prognum, versnum, nconf);
1687 struct netconfig *nconf;
1696 if ((nconf = __rpc_getconf(handle)) == NULL) {
1701 clnt = getclnthandle(host, nconf, rpcbversnum,
1712 getclnthandle(host, nconf, rpcbversnum, targaddr)
1714 struct netconfig *nconf;
1726 if (netdir_getbyname(nconf, &rpcbind_hs, &nas)) {
1731 client = clnt_tli_create(RPC_ANYFD, nconf, addr, RPCBPROG,