Lines Matching defs:nconf

294 getclnthandle(char *host, struct netconfig *nconf, char **targaddr)
296 return (_getclnthandle_timed(host, nconf, targaddr, NULL));
306 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr,
324 ad_cache = check_cache(host, nconf->nc_netid);
327 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr,
383 rpcbind_hs.h_host, rpcbind_hs.h_serv, nconf->nc_netid);
386 if ((neterr = netdir_getbyname(nconf, &rpcbind_hs, &nas)) != 0) {
402 ua = taddr2uaddr(nconf, &(nas->n_addrs[j]));
414 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr, RPCBPROG,
426 tmpaddr = targaddr ? taddr2uaddr(nconf, addr) : NULL;
427 add_cache(host, nconf->nc_netid, addr, tmpaddr);
451 struct netconfig *nconf, *tmpnconf = NULL;
474 while (nconf = getnetconfig(nc_handle)) {
475 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
476 tmpnconf = nconf;
477 if (nconf->nc_semantics == NC_TPI_CLTS)
500 const struct netconfig *nconf, const struct netbuf *address)
508 if (nconf == NULL) {
520 parms.r_addr = taddr2uaddr((struct netconfig *)nconf,
528 parms.r_netid = nconf->nc_netid;
553 const struct netconfig *nconf)
566 if (nconf)
567 parms.r_netid = nconf->nc_netid;
585 got_entry(rpcb_entry_list_ptr relp, struct netconfig *nconf)
593 if ((strcmp(nconf->nc_proto, rmap->r_nc_proto) == 0) &&
594 (strcmp(nconf->nc_protofmly, rmap->r_nc_protofmly) == 0) &&
595 (nconf->nc_semantics == rmap->r_nc_semantics) &&
597 na = uaddr2taddr(nconf, rmap->r_maddr);
703 struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp)
715 if (nconf == NULL) {
730 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
740 if (strcmp(nconf->nc_proto, NC_TCP) == 0) {
772 nconf->nc_protofmly) == NULL)
780 client = _getclnthandle_timed(host, nconf,
794 pmapparms.pm_prot = strcmp(nconf->nc_proto, NC_TCP) ?
839 if (check_rpcbind && strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
858 parms.r_netid = nconf->nc_netid; /* not really needed */
864 if (nconf->nc_semantics == NC_TPI_COTS_ORD ||
865 nconf->nc_semantics == NC_TPI_COTS) {
876 nconf->nc_protofmly) != 0) {
915 if (address = got_entry(relp, nconf)) {
944 if (client && ((nconf->nc_semantics == NC_TPI_COTS_ORD) ||
945 (nconf->nc_semantics == NC_TPI_COTS))) {
954 client = _getclnthandle_timed(host, nconf, &parms.r_addr, tp);
990 address = uaddr2taddr(nconf, ua);
1029 if (nconf->nc_semantics != NC_TPI_CLTS) {
1050 * Uses the transport specified in nconf.
1057 const struct netconfig *nconf, struct netbuf *address, const char *host)
1062 (struct netconfig *)nconf, (char *)host, NULL, NULL)) == NULL)
1085 rpcb_getmaps(const struct netconfig *nconf, const char *host)
1093 (struct netconfig *)nconf, NULL);
1138 rpcb_rmtcall(const struct netconfig *nconf, const char *host,
1149 client = getclnthandle((char *)host, (struct netconfig *)nconf, NULL);
1170 na = uaddr2taddr((struct netconfig *)nconf, r.addr);
1208 struct netconfig *nconf;
1223 if ((nconf = __rpc_getconf(handle)) == NULL) {
1228 client = getclnthandle((char *)host, nconf, NULL);
1261 rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr)
1267 if (nconf == NULL) {
1291 rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr)
1297 if (nconf == NULL) {