Lines Matching refs:nconf

288 getclnthandle(host, nconf, targaddr)
290 const struct netconfig *nconf;
309 ad_cache = check_cache(host, nconf->nc_netid);
312 client = clnt_tli_create(RPC_ANYFD, nconf, addr,
339 if (!__rpc_nconf2sockinfo(nconf, &si)) {
351 nconf->nc_netid, si.si_af, si.si_proto, si.si_socktype);
354 if (nconf->nc_protofmly != NULL && strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
389 ua = taddr2uaddr(nconf, &taddr);
407 client = clnt_tli_create(RPC_ANYFD, nconf, &taddr,
416 tmpaddr = targaddr ? taddr2uaddr(nconf, &taddr) : NULL;
417 add_cache(host, nconf->nc_netid, &taddr, tmpaddr);
484 struct netconfig *nconf, *tmpnconf = NULL;
496 while ((nconf = getnetconfig(nc_handle)) != NULL) {
499 strcmp(nconf->nc_protofmly, NC_INET6) == 0 ||
501 strcmp(nconf->nc_protofmly, NC_INET) == 0) &&
502 (nconf->nc_semantics == NC_TPI_COTS ||
503 nconf->nc_semantics == NC_TPI_COTS_ORD)) {
504 fd = __rpc_nconf2fd(nconf);
512 tmpnconf = nconf;
513 if (!strcmp(nconf->nc_protofmly, NC_INET))
542 const struct netconfig *nconf, /* Network structure of transport */
555 if (nconf == NULL) {
570 nconfcopy = *nconf;
580 parms.r_netid = nconf->nc_netid;
609 rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf)
625 if (nconf)
626 parms.r_netid = nconf->nc_netid;
654 got_entry(relp, nconf)
656 const struct netconfig *nconf;
664 if ((strcmp(nconf->nc_proto, rmap->r_nc_proto) == 0) &&
665 (strcmp(nconf->nc_protofmly, rmap->r_nc_protofmly) == 0) &&
666 (nconf->nc_semantics == rmap->r_nc_semantics) &&
668 na = uaddr2taddr(nconf, rmap->r_maddr);
689 struct netconfig *nconf;
694 nconf = NULL;
696 while ((nconf = getnetconfig(localhandle)) != NULL) {
697 if (nconf->nc_protofmly != NULL &&
698 strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0)
701 if (nconf == NULL)
742 __rpcb_findaddr_timed(program, version, nconf, host, clpp, tp)
745 const struct netconfig *nconf;
761 if (nconf == NULL) {
776 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
786 if (strcmp(nconf->nc_proto, NC_TCP) == 0) {
796 client = getclnthandle(host, nconf, &parms.r_addr);
809 pmapparms.pm_prot = strcmp(nconf->nc_proto, NC_TCP) ?
856 if (check_rpcbind && strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
875 parms.r_netid = nconf->nc_netid; /* not really needed */
881 if (nconf->nc_semantics == NC_TPI_COTS_ORD ||
882 nconf->nc_semantics == NC_TPI_COTS) {
894 nconf->nc_protofmly) != 0) {
926 if ((address = got_entry(relp, nconf)) != NULL) {
958 if (client && ((nconf->nc_semantics == NC_TPI_COTS_ORD) ||
959 (nconf->nc_semantics == NC_TPI_COTS))) {
966 client = getclnthandle(host, nconf, &parms.r_addr);
991 address = uaddr2taddr(nconf, ua);
1030 if (nconf->nc_semantics != NC_TPI_CLTS) {
1051 * Uses the transport specified in nconf.
1057 rpcb_getaddr(program, version, nconf, address, host)
1060 const struct netconfig *nconf;
1067 (struct netconfig *) nconf, (char *) host,
1093 rpcb_getmaps(nconf, host)
1094 const struct netconfig *nconf;
1102 client = getclnthandle(host, nconf, NULL);
1145 rpcb_rmtcall(nconf, host, prog, vers, proc, xdrargs, argsp,
1147 const struct netconfig *nconf; /* Netconfig structure */
1164 client = getclnthandle(host, nconf, NULL);
1187 na = uaddr2taddr((struct netconfig *) nconf, r.addr);
1232 struct netconfig *nconf;
1248 if ((nconf = __rpc_getconf(handle)) == NULL) {
1253 client = getclnthandle(host, nconf, NULL);
1307 rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr)
1314 if (nconf == NULL) {
1339 rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr)
1346 if (nconf == NULL) {