summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfsrvcache.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/nfsrvcache.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/nfsrvcache.h')
-rw-r--r--sys/nfs/nfsrvcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfsrvcache.h b/sys/nfs/nfsrvcache.h
index b17a022..a05ab31 100644
--- a/sys/nfs/nfsrvcache.h
+++ b/sys/nfs/nfsrvcache.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfsrvcache.h 8.3 (Berkeley) 3/30/95
- * $Id: nfsrvcache.h,v 1.9 1997/06/03 17:22:47 dfr Exp $
+ * $Id: nfsrvcache.h,v 1.10 1998/02/03 22:15:04 bde Exp $
*/
@@ -52,7 +52,7 @@
struct nfsrvcache {
TAILQ_ENTRY(nfsrvcache) rc_lru; /* LRU chain */
LIST_ENTRY(nfsrvcache) rc_hash; /* Hash chain */
- u_long rc_xid; /* rpc id number */
+ u_int32_t rc_xid; /* rpc id number */
union {
struct mbuf *ru_repmb; /* Reply mbuf list OR */
int ru_repstat; /* Reply status */
OpenPOWER on IntegriCloud