summaryrefslogtreecommitdiffstats
path: root/sys/rpc/svc.h
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2014-08-01 21:10:41 +0000
committerrmacklem <rmacklem@FreeBSD.org>2014-08-01 21:10:41 +0000
commit50867d802b534350d2bee81cf0858b8cd871b487 (patch)
tree7ce81fe06c3c67164e672e40de7e128c98669a0c /sys/rpc/svc.h
parentba879dc5f5950146f01bba4a949fe57cdd5628a2 (diff)
downloadFreeBSD-src-50867d802b534350d2bee81cf0858b8cd871b487.zip
FreeBSD-src-50867d802b534350d2bee81cf0858b8cd871b487.tar.gz
MFC: r268115
Merge the NFSv4.1 server code in projects/nfsv4.1-server over into head. The code is not believed to have any effect on the semantics of non-NFSv4.1 server behaviour. It is a rather large merge, but I am hoping that there will not be any regressions for the NFS server.
Diffstat (limited to 'sys/rpc/svc.h')
-rw-r--r--sys/rpc/svc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index 4f2c853..1c7bbce 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -145,6 +145,7 @@ struct __rpc_svcthread;
* Server side transport handle. In the kernel, transports have a
* reference count which tracks the number of currently assigned
* worker threads plus one for the service pool's reference.
+ * For NFSv4.1 sessions, a reference is also held for a backchannel.
*/
typedef struct __rpc_svcxprt {
#ifdef _KERNEL
@@ -774,6 +775,13 @@ extern SVCXPRT *svc_vc_create(SVCPOOL *, struct socket *,
extern SVCXPRT *svc_vc_create_backchannel(SVCPOOL *);
+extern void *clnt_bck_create(struct socket *, const rpcprog_t, const rpcvers_t);
+ /*
+ * struct socket *; -- server transport socket
+ * const rpcprog_t prog; -- RPC program number
+ * const rpcvers_t vers; -- RPC program version
+ */
+
/*
* Generic TLI create routine
*/
OpenPOWER on IntegriCloud