diff options
| author | Krishna Srinivas <ksriniva@redhat.com> | 2012-05-08 15:15:31 +0530 | 
|---|---|---|
| committer | Vijay Bellur <vijay@gluster.com> | 2012-05-27 22:26:42 -0700 | 
| commit | c4d4d9d1d3ec4565346efcfe8bdc6c10b8d5ba2d (patch) | |
| tree | f2dad5a7e4f6fe41788ee3347fdb8085266b8cc7 /rpc/xdr/src/mount3udp.x | |
| parent | 252bd6b8b6952127ee3462495b1e5063e7a22ad0 (diff) | |
nfs/mount: Support MOUNT protocol on UDP. Needed for NLM on solaris clients.
Change-Id: I3f5c35d06827fb267a7dae53d949c61567a945d0
BUG: 799287
Signed-off-by: Krishna Srinivas <ksriniva@redhat.com>
Reviewed-on: http://review.gluster.com/3434
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'rpc/xdr/src/mount3udp.x')
| -rw-r--r-- | rpc/xdr/src/mount3udp.x | 34 | 
1 files changed, 34 insertions, 0 deletions
diff --git a/rpc/xdr/src/mount3udp.x b/rpc/xdr/src/mount3udp.x new file mode 100644 index 00000000000..90b5b741abe --- /dev/null +++ b/rpc/xdr/src/mount3udp.x @@ -0,0 +1,34 @@ +/* +  Copyright (c) 2012 Gluster, Inc. <http://www.gluster.com> +  This file is part of GlusterFS. + +  GlusterFS is free software; you can redistribute it and/or modify +  it under the terms of the GNU General Public License as published +  by the Free Software Foundation; either version 3 of the License, +  or (at your option) any later version. + +  GlusterFS is distributed in the hope that it will be useful, but +  WITHOUT ANY WARRANTY; without even the implied warranty of +  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU +  General Public License for more details. + +  You should have received a copy of the GNU General Public License +  along with this program.  If not, see +  <http://www.gnu.org/licenses/>. +*/ + +/* This is used by rpcgen to auto generate the rpc stubs. + * mount3udp_svc.c is heavily modified though + */ + +const MNTUDPPATHLEN = 1024; + +typedef string mntudpdirpath<MNTPATHLEN>; + +program MOUNTUDP_PROGRAM { +        version MOUNTUDP_V3 { +                void MOUNTUDPPROC3_NULL(void) = 0; +                mountres3 MOUNTUDPPROC3_MNT (mntudpdirpath) = 1; +                mountstat3 MOUNTUDPPROC3_UMNT (mntudpdirpath) = 3; +        } = 3; +} = 100005;  | 
