Lines Matching defs:nconf

286 getclnthandle(host, nconf, targaddr)
288 const struct netconfig *nconf;
307 ad_cache = check_cache(host, nconf->nc_netid);
310 client = clnt_tli_create(RPC_ANYFD, nconf, addr,
337 if (!__rpc_nconf2sockinfo(nconf, &si)) {
349 nconf->nc_netid, si.si_af, si.si_proto, si.si_socktype);
352 if (nconf->nc_protofmly != NULL && strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
387 ua = taddr2uaddr(nconf, &taddr);
405 client = clnt_tli_create(RPC_ANYFD, nconf, &taddr,
414 tmpaddr = targaddr ? taddr2uaddr(nconf, &taddr) : NULL;
415 add_cache(host, nconf->nc_netid, &taddr, tmpaddr);
482 struct netconfig *nconf, *tmpnconf = NULL;
494 while ((nconf = getnetconfig(nc_handle)) != NULL) {
497 strcmp(nconf->nc_protofmly, NC_INET6) == 0 ||
499 strcmp(nconf->nc_protofmly, NC_INET) == 0) &&
500 (nconf->nc_semantics == NC_TPI_COTS ||
501 nconf->nc_semantics == NC_TPI_COTS_ORD)) {
502 fd = __rpc_nconf2fd(nconf);
510 tmpnconf = nconf;
511 if (!strcmp(nconf->nc_protofmly, NC_INET))
540 const struct netconfig *nconf, /* Network structure of transport */
553 if (nconf == NULL) {
568 nconfcopy = *nconf;
578 parms.r_netid = nconf->nc_netid;
607 rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf)
623 if (nconf)
624 parms.r_netid = nconf->nc_netid;
652 got_entry(relp, nconf)
654 const struct netconfig *nconf;
662 if ((strcmp(nconf->nc_proto, rmap->r_nc_proto) == 0) &&
663 (strcmp(nconf->nc_protofmly, rmap->r_nc_protofmly) == 0) &&
664 (nconf->nc_semantics == rmap->r_nc_semantics) &&
666 na = uaddr2taddr(nconf, rmap->r_maddr);
687 struct netconfig *nconf;
692 nconf = NULL;
694 while ((nconf = getnetconfig(localhandle)) != NULL) {
695 if (nconf->nc_protofmly != NULL &&
696 strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0)
699 if (nconf == NULL)
740 __rpcb_findaddr_timed(program, version, nconf, host, clpp, tp)
743 const struct netconfig *nconf;
759 if (nconf == NULL) {
774 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
784 if (strcmp(nconf->nc_proto, NC_TCP) == 0) {
794 client = getclnthandle(host, nconf, &parms.r_addr);
807 pmapparms.pm_prot = strcmp(nconf->nc_proto, NC_TCP) ?
854 if (check_rpcbind && strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
873 parms.r_netid = nconf->nc_netid; /* not really needed */
879 if (nconf->nc_semantics == NC_TPI_COTS_ORD ||
880 nconf->nc_semantics == NC_TPI_COTS) {
892 nconf->nc_protofmly) != 0) {
924 if ((address = got_entry(relp, nconf)) != NULL) {
956 if (client && ((nconf->nc_semantics == NC_TPI_COTS_ORD) ||
957 (nconf->nc_semantics == NC_TPI_COTS))) {
964 client = getclnthandle(host, nconf, &parms.r_addr);
989 address = uaddr2taddr(nconf, ua);
1028 if (nconf->nc_semantics != NC_TPI_CLTS) {
1049 * Uses the transport specified in nconf.
1055 rpcb_getaddr(program, version, nconf, address, host)
1058 const struct netconfig *nconf;
1065 (struct netconfig *) nconf, (char *) host,
1091 rpcb_getmaps(nconf, host)
1092 const struct netconfig *nconf;
1100 client = getclnthandle(host, nconf, NULL);
1143 rpcb_rmtcall(nconf, host, prog, vers, proc, xdrargs, argsp,
1145 const struct netconfig *nconf; /* Netconfig structure */
1162 client = getclnthandle(host, nconf, NULL);
1185 na = uaddr2taddr((struct netconfig *) nconf, r.addr);
1230 struct netconfig *nconf;
1246 if ((nconf = __rpc_getconf(handle)) == NULL) {
1251 client = getclnthandle(host, nconf, NULL);
1305 rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr)
1312 if (nconf == NULL) {
1337 rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr)
1344 if (nconf == NULL) {