diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-10-29 11:16:50 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-10-29 11:16:50 +0000 |
commit | 1b318feb7045e2314eaeac80b7537afd5a87918e (patch) | |
tree | 3f481fbe39850b1565461320f81f799872bbd420 /sys/nfs/nfsrvcache.h | |
parent | afc37bbe5b87760713f1a1e565f8896de20889af (diff) |
Touch of KNF and style(9), spaces and comments.
make pretty.
ok krw@
Diffstat (limited to 'sys/nfs/nfsrvcache.h')
-rw-r--r-- | sys/nfs/nfsrvcache.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/sys/nfs/nfsrvcache.h b/sys/nfs/nfsrvcache.h index fc4b78b5af1..18611d81526 100644 --- a/sys/nfs/nfsrvcache.h +++ b/sys/nfs/nfsrvcache.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsrvcache.h,v 1.6 2003/06/02 23:28:20 millert Exp $ */ +/* $OpenBSD: nfsrvcache.h,v 1.7 2007/10/29 11:16:49 thib Exp $ */ /* $NetBSD: nfsrvcache.h,v 1.10 1996/02/18 11:54:08 fvdl Exp $ */ /* @@ -35,28 +35,23 @@ * @(#)nfsrvcache.h 8.3 (Berkeley) 3/30/95 */ - #ifndef _NFS_NFSRVCACHE_H_ #define _NFS_NFSRVCACHE_H_ -/* - * Definitions for the server recent request cache - */ - #define NFSRVCACHESIZ 64 struct nfsrvcache { - TAILQ_ENTRY(nfsrvcache) rc_lru; /* LRU chain */ - LIST_ENTRY(nfsrvcache) rc_hash; /* Hash chain */ - u_int32_t rc_xid; /* rpc id number */ + TAILQ_ENTRY(nfsrvcache) rc_lru; /* LRU chain */ + LIST_ENTRY(nfsrvcache) rc_hash; /* Hash chain */ + u_int32_t rc_xid; /* rpc id number */ union { - struct mbuf *ru_repmb; /* Reply mbuf list OR */ - int ru_repstat; /* Reply status */ + struct mbuf *ru_repmb; /* Reply mbuf list OR */ + int ru_repstat; /* Reply status */ } rc_un; - union nethostaddr rc_haddr; /* Host address */ - u_int16_t rc_proc; /* rpc proc number */ - u_char rc_state; /* Current state of request */ - u_char rc_flag; /* Flag bits */ + union nethostaddr rc_haddr; /* Host address */ + u_int16_t rc_proc; /* rpc proc number */ + u_char rc_state; /* Current state of request */ + u_char rc_flag; /* Flag bits */ }; #define rc_reply rc_un.ru_repmb |