diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2012-12-08 00:29:16 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2012-12-08 00:29:16 +0000 |
commit | e2adc47dbb440c2ce74b0625cbd97bca71c682a2 (patch) | |
tree | b8b979991f852a5c25a95ddbabb63117c46bef2e /sys/rpc/svc.h | |
parent | 33a38f7453a5c2b4afca8729c081bda79afa2a44 (diff) | |
download | src-e2adc47dbb440c2ce74b0625cbd97bca71c682a2.tar.gz src-e2adc47dbb440c2ce74b0625cbd97bca71c682a2.zip |
Add support for backchannels to the kernel RPC. Backchannels
are used by NFSv4.1 for callbacks. A backchannel is a connection
established by the client, but used for RPCs done by the server
on the client (callbacks). As a result, this patch mixes some
client side calls in the server side and vice versa. Some
definitions in the .c files were extracted out into a file called
krpc.h, so that they could be included in multiple .c files.
This code has been in projects/nfsv4.1-client for some time.
Although no one has given it a formal review, I believe kib@
has taken a look at it.
Notes
Notes:
svn path=/head/; revision=244008
Diffstat (limited to 'sys/rpc/svc.h')
-rw-r--r-- | sys/rpc/svc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h index 1bd3054b2be3..54aaa2cc24a4 100644 --- a/sys/rpc/svc.h +++ b/sys/rpc/svc.h @@ -703,6 +703,8 @@ extern SVCXPRT *svc_vc_create(SVCPOOL *, struct socket *, * const size_t recvsize; -- max recv size */ +extern SVCXPRT *svc_vc_create_backchannel(SVCPOOL *); + /* * Generic TLI create routine */ |