]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for backchannels to the kernel RPC. Backchannels
authorrmacklem <rmacklem@FreeBSD.org>
Sat, 8 Dec 2012 00:29:16 +0000 (00:29 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Sat, 8 Dec 2012 00:29:16 +0000 (00:29 +0000)
commitded0f38e615d39bdc5ac38cdb3cecf37a66c75fe
treeb8b979991f852a5c25a95ddbabb63117c46bef2e
parentb8327e28a33a6bb69cb12171c683fc2756305c0a
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.
sys/rpc/clnt.h
sys/rpc/clnt_rc.c
sys/rpc/clnt_vc.c
sys/rpc/krpc.h [new file with mode: 0644]
sys/rpc/svc.h
sys/rpc/svc_vc.c