Lines Matching defs:nconf
65 static struct knetconfig *get_knconf(struct netconfig *nconf);
119 struct netconfig *nconf, *udpnconf;
344 args.addr = get_addr(host, NFS_PROGRAM, nfsvers, &nconf);
351 args.knconf = get_knconf(nconf);
670 static struct netconfig *nconf;
691 while (nconf = getnetconfig(nc)) {
692 if ((nconf->nc_flag & NC_VISIBLE) &&
693 nconf->nc_semantics == NC_TPI_CLTS) {
697 if (nconf == NULL)
702 fd = t_open(nconf->nc_device, O_RDWR, NULL);
710 if (rpcb_getaddr(prog, vers, nconf, &tbind->addr, hostname) == 0) {
715 *nconfp = nconf;
744 get_knconf(struct netconfig *nconf)
749 if (stat(nconf->nc_device, &stbuf) < 0) {
750 errprintf(NULL, "get_knconf: stat %s: %m", nconf->nc_device);
756 k->knc_semantics = nconf->nc_semantics;
757 k->knc_protofmly = strdup(nconf->nc_protofmly);
760 k->knc_proto = strdup(nconf->nc_proto);