diff options
| author | Andreas Gruenbacher <agruen@suse.de> | 2005-06-22 13:16:24 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:22 -0400 |
| commit | 9ba02638e4be28dd4ff724202a640264427c62d1 (patch) | |
| tree | f9353e37a0b5526f1cbf116c3ed62f26bdfe4cc0 /include/linux/sunrpc | |
| parent | a838cc49d9a7d5652262a6d1b628628cadffa877 (diff) | |
[PATCH] RPC: Allow the sunrpc server to multiplex serveral programs on a single port
The NFS and NFSACL programs run on the same RPC transport. This patch adds
support for this by converting svc_program into a chained list of programs
(server-side).
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/svc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 37003970cf2e..facb94488bb1 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
| @@ -240,9 +240,10 @@ struct svc_deferred_req { | |||
| 240 | }; | 240 | }; |
| 241 | 241 | ||
| 242 | /* | 242 | /* |
| 243 | * RPC program | 243 | * List of RPC programs on the same transport endpoint |
| 244 | */ | 244 | */ |
| 245 | struct svc_program { | 245 | struct svc_program { |
| 246 | struct svc_program * pg_next; /* other programs (same xprt) */ | ||
| 246 | u32 pg_prog; /* program number */ | 247 | u32 pg_prog; /* program number */ |
| 247 | unsigned int pg_lovers; /* lowest version */ | 248 | unsigned int pg_lovers; /* lowest version */ |
| 248 | unsigned int pg_hivers; /* lowest version */ | 249 | unsigned int pg_hivers; /* lowest version */ |
