summaryrefslogtreecommitdiffstats
path: root/sys/nfs/rpcv2.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-05-31 20:09:01 +0000
committerpeter <peter@FreeBSD.org>1998-05-31 20:09:01 +0000
commit19ad2aa63b82a877a2b1485a9812dcf6e7757ea9 (patch)
treec618465310d3c2ab3f4033443d34c221eef41ba1 /sys/nfs/rpcv2.h
parent401c250cc40de5fcfc5f53856a8194793ba32667 (diff)
downloadFreeBSD-src-19ad2aa63b82a877a2b1485a9812dcf6e7757ea9.zip
FreeBSD-src-19ad2aa63b82a877a2b1485a9812dcf6e7757ea9.tar.gz
For the on-the-wire protocol, u_long -> u_int32_t; long -> int32_t;
int -> int32_t; u_short -> u_int16_t. Also, use mode_t instead of u_short for storing modes (mode_t is a u_int16_t). Obtained from: NetBSD
Diffstat (limited to 'sys/nfs/rpcv2.h')
-rw-r--r--sys/nfs/rpcv2.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/nfs/rpcv2.h b/sys/nfs/rpcv2.h
index fcb2694..00afefe 100644
--- a/sys/nfs/rpcv2.h
+++ b/sys/nfs/rpcv2.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)rpcv2.h 8.2 (Berkeley) 3/30/95
- * $Id: rpcv2.h,v 1.7 1997/02/22 09:42:53 peter Exp $
+ * $Id: rpcv2.h,v 1.8 1997/05/11 18:05:39 tegge Exp $
*/
@@ -105,20 +105,20 @@
* Structures used for RPCAUTH_KERB4.
*/
struct nfsrpc_fullverf {
- u_long t1;
- u_long t2;
- u_long w2;
+ u_int32_t t1;
+ u_int32_t t2;
+ u_int32_t w2;
};
struct nfsrpc_fullblock {
- u_long t1;
- u_long t2;
- u_long w1;
- u_long w2;
+ u_int32_t t1;
+ u_int32_t t2;
+ u_int32_t w1;
+ u_int32_t w2;
};
struct nfsrpc_nickverf {
- u_long kind;
+ u_int32_t kind;
struct nfsrpc_fullverf verf;
};
OpenPOWER on IntegriCloud