summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/krpc.h
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-04-25 22:22:51 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-04-25 22:22:51 +0000
commit8d09f5854972630dec5ac9a3362d13b2b014aed7 (patch)
tree215ddd2770caab91450f1ffc0936448f7790351a /sys/nfsclient/krpc.h
parentf8e844f47e956bc96fd494f89344c3dfc5b214e3 (diff)
downloadFreeBSD-src-8d09f5854972630dec5ac9a3362d13b2b014aed7.zip
FreeBSD-src-8d09f5854972630dec5ac9a3362d13b2b014aed7.tar.gz
Fix the experimental NFS client so that it does not bogusly
set the f_flags field of "struct statfs". This had the interesting effect of making the NFSv4 mounts "disappear" after r221014, since NFSMNT_NFSV4 and MNT_IGNORE became the same bit. Move the files used for a diskless NFS root from sys/nfsclient to sys/nfs in preparation for them to be used by both NFS clients. Also, move the declaration of the three global data structures from sys/nfsclient/nfs_vfsops.c to sys/nfs/nfs_diskless.c so that they are defined when either client uses them. Reviewed by: jhb MFC after: 2 weeks
Diffstat (limited to 'sys/nfsclient/krpc.h')
-rw-r--r--sys/nfsclient/krpc.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/sys/nfsclient/krpc.h b/sys/nfsclient/krpc.h
deleted file mode 100644
index 44b84e0..0000000
--- a/sys/nfsclient/krpc.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $ */
-/* $FreeBSD$ */
-
-#include <sys/cdefs.h>
-
-struct mbuf;
-struct thread;
-struct sockaddr;
-struct sockaddr_in;
-
-int krpc_call(struct sockaddr_in *_sin,
- u_int prog, u_int vers, u_int func,
- struct mbuf **data, struct sockaddr **from, struct thread *td);
-
-int krpc_portmap(struct sockaddr_in *_sin,
- u_int prog, u_int vers, u_int16_t *portp, struct thread *td);
-
-struct mbuf *xdr_string_encode(char *str, int len);
-
-/*
- * RPC definitions for the portmapper
- */
-#define PMAPPORT 111
-#define PMAPPROG 100000
-#define PMAPVERS 2
-#define PMAPPROC_NULL 0
-#define PMAPPROC_SET 1
-#define PMAPPROC_UNSET 2
-#define PMAPPROC_GETPORT 3
-#define PMAPPROC_DUMP 4
-#define PMAPPROC_CALLIT 5
OpenPOWER on IntegriCloud