Lines Matching defs:nconf

394 	struct netconfig *nconf = NULL;
556 nconf = NULL;
566 &vers, &nconf, port);
606 loud_on_mnt_err, &nconf, port);
631 TRUE, &nconf, port);
691 nconf = NULL;
692 if (r = getaddr_nfs(argp, host, &nconf,
701 if (make_secure(argp, host, nconf, use_pubfh, vers) < 0) {
1258 make_secure(struct nfs_args *args, char *hostname, struct netconfig *nconf,
1311 nconf, 0, NULL, NULL, FALSE, NULL, NULL);
1323 error = netdir_getbyname(nconf, &hs, &retaddrs);
1381 * with version "vers" by using the nconf configuration data
1394 struct netconfig *nconf, ushort_t port, struct t_info *tinfo,
1406 if (nconf == NULL)
1409 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) == -1)
1429 strncasecmp(nconf->nc_proto, NC_UDP,
1440 if ((retval = netdir_getbyname(nconf, &hs, &retaddrs))
1456 (void) netdir_options(nconf, ND_SET_RESERVEDPORT, fd, NULL);
1459 if (rpcb_getaddr(prog, vers, nconf, &tbind->addr,
1467 if (strcmp(nconf->nc_protofmly, NC_INET) == 0)
1470 else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0)
1476 cl = clnt_tli_create(fd, nconf, &tbind->addr, prog, vers, 0, 0);
1648 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
1700 check_nconf(struct netconfig *nconf, int nthtry, int *valid_proto)
1708 try_test = ((nconf->nc_semantics == NC_TPI_COTS_ORD) ||
1709 (nconf->nc_semantics == NC_TPI_COTS));
1712 try_test = (nconf->nc_semantics == NC_TPI_CLTS);
1717 (strcmp(nconf->nc_protofmly, NC_INET) == 0 ||
1718 strcmp(nconf->nc_protofmly, NC_INET6) == 0) &&
1719 (strcmp(nconf->nc_proto, proto) == 0))
1756 struct netconfig *nconf = NULL;
1770 * No nconf passed in.
1772 * Try to get a nconf from /etc/netconfig filtered by
1795 while (nconf = getnetpath(nc)) {
1796 if (strcmp(nconf->nc_netid, proto))
1803 ((strcmp(nconf->nc_protofmly, NC_INET) == 0 ||
1804 strcmp(nconf->nc_protofmly, NC_INET6) == 0) &&
1805 (strcmp(nconf->nc_proto, NC_TCP) != 0 &&
1806 strcmp(nconf->nc_proto, NC_UDP) != 0))) {
1810 vers, nconf, port, tinfo,
1835 if (nconf == NULL)
1838 if ((nb = get_the_addr(hostname, prog, vers, nconf, port,
1844 while (nconf = getnetpath(nc)) {
1847 if (nconf->nc_flag & NC_VISIBLE) {
1850 if (check_nconf(nconf,
1860 if (nconf == NULL) {
1869 if ((nb = get_the_addr(hostname, prog, vers, nconf,
1886 * nconf (nconf == NULL).
1895 * Got nconf and nb. Now dup the netconfig structure (nconf)
1898 *nconfp = getnetconfigent(nconf->nc_netid);
2408 struct netconfig *nconf;
2536 nconf = *nconfp;
2538 if (stat(nconf->nc_device, &sb) < 0) {
2540 nconf->nc_device, strerror(errno));
2549 knconfp->knc_semantics = nconf->nc_semantics;
2550 knconfp->knc_protofmly = nconf->nc_protofmly;
2551 knconfp->knc_proto = nconf->nc_proto;