nfsrvcache.h (60938) | nfsrvcache.h (83651) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfsrvcache.h 8.3 (Berkeley) 3/30/95 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfsrvcache.h 8.3 (Berkeley) 3/30/95 |
37 * $FreeBSD: head/sys/nfsserver/nfsrvcache.h 60938 2000-05-26 02:09:24Z jake $ | 37 * $FreeBSD: head/sys/nfsserver/nfsrvcache.h 83651 2001-09-18 23:32:09Z peter $ |
38 */ 39 | 38 */ 39 |
40#ifndef _NFSSERVER_NFSRVCACHE_H_ 41#define _NFSSERVER_NFSRVCACHE_H_ |
|
40 | 42 |
41#ifndef _NFS_NFSRVCACHE_H_ 42#define _NFS_NFSRVCACHE_H_ 43 | |
44#include <sys/queue.h> 45 46/* 47 * Definitions for the server recent request cache 48 */ 49 50#define NFSRVCACHESIZ 64 51 --- 20 unchanged lines hidden (view full) --- 72#define RC_UNUSED 0 73#define RC_INPROG 1 74#define RC_DONE 2 75 76/* Return values */ 77#define RC_DROPIT 0 78#define RC_REPLY 1 79#define RC_DOIT 2 | 43#include <sys/queue.h> 44 45/* 46 * Definitions for the server recent request cache 47 */ 48 49#define NFSRVCACHESIZ 64 50 --- 20 unchanged lines hidden (view full) --- 71#define RC_UNUSED 0 72#define RC_INPROG 1 73#define RC_DONE 2 74 75/* Return values */ 76#define RC_DROPIT 0 77#define RC_REPLY 1 78#define RC_DOIT 2 |
80#define RC_CHECKIT 3 | |
81 82/* Flag bits */ 83#define RC_LOCKED 0x01 84#define RC_WANTED 0x02 85#define RC_REPSTATUS 0x04 86#define RC_REPMBUF 0x08 | 79 80/* Flag bits */ 81#define RC_LOCKED 0x01 82#define RC_WANTED 0x02 83#define RC_REPSTATUS 0x04 84#define RC_REPMBUF 0x08 |
87#define RC_NQNFS 0x10 | 85/* free 0x10 */ |
88#define RC_INETADDR 0x20 89#define RC_NAM 0x40 90 91#endif | 86#define RC_INETADDR 0x20 87#define RC_NAM 0x40 88 89#endif |