nfsproto.h (221462) | nfsproto.h (223280) |
---|---|
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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/fs/nfs/nfsproto.h 221462 2011-05-04 22:02:33Z rmacklem $ | 32 * $FreeBSD: head/sys/fs/nfs/nfsproto.h 223280 2011-06-18 23:02:53Z rmacklem $ |
33 */ 34 35#ifndef _NFS_NFSPROTO_H_ 36#define _NFS_NFSPROTO_H_ 37 38/* 39 * nfs definitions as per the Version 2, 3 and 4 specs 40 */ --- 180 unchanged lines hidden (view full) --- 221#define NFSPROC_READDIR 16 222#define NFSPROC_READDIRPLUS 17 223#define NFSPROC_FSSTAT 18 224#define NFSPROC_FSINFO 19 225#define NFSPROC_PATHCONF 20 226#define NFSPROC_COMMIT 21 227 228/* | 33 */ 34 35#ifndef _NFS_NFSPROTO_H_ 36#define _NFS_NFSPROTO_H_ 37 38/* 39 * nfs definitions as per the Version 2, 3 and 4 specs 40 */ --- 180 unchanged lines hidden (view full) --- 221#define NFSPROC_READDIR 16 222#define NFSPROC_READDIRPLUS 17 223#define NFSPROC_FSSTAT 18 224#define NFSPROC_FSINFO 19 225#define NFSPROC_PATHCONF 20 226#define NFSPROC_COMMIT 21 227 228/* |
229 * The lower numbers -> 21 are used by NFSv2 and v3. These define higher 230 * numbers used by NFSv4. 231 * NFS_V3NPROCS is one greater than the last V3 op and NFS_NPROCS is 232 * one greater than the last number. 233 */ 234#ifndef NFS_V3NPROCS 235#define NFS_V3NPROCS 22 236 237#define NFSPROC_LOOKUPP 22 238#define NFSPROC_SETCLIENTID 23 239#define NFSPROC_SETCLIENTIDCFRM 24 240#define NFSPROC_LOCK 25 241#define NFSPROC_LOCKU 26 242#define NFSPROC_OPEN 27 243#define NFSPROC_CLOSE 28 244#define NFSPROC_OPENCONFIRM 29 245#define NFSPROC_LOCKT 30 246#define NFSPROC_OPENDOWNGRADE 31 247#define NFSPROC_RENEW 32 248#define NFSPROC_PUTROOTFH 33 249#define NFSPROC_RELEASELCKOWN 34 250#define NFSPROC_DELEGRETURN 35 251#define NFSPROC_RETDELEGREMOVE 36 252#define NFSPROC_RETDELEGRENAME1 37 253#define NFSPROC_RETDELEGRENAME2 38 254#define NFSPROC_GETACL 39 255#define NFSPROC_SETACL 40 256 257/* 258 * Must be defined as one higher than the last Proc# above. 259 */ 260#define NFSV4_NPROCS 41 261#endif /* NFS_V3NPROCS */ 262 263/* 264 * Define NFS_NPROCS as NFSV4_NPROCS for the experimental kernel code. 265 */ 266#ifndef NFS_NPROCS 267#define NFS_NPROCS NFSV4_NPROCS 268#endif 269 270/* |
|
229 * NFSPROC_NOOP is a fake op# that can't be the same as any V2/3/4 Procedure 230 * or Operation#. Since the NFS V4 Op #s go higher, use NFSV4OP_NOPS, which 231 * is one greater than the highest Op#. 232 */ 233#define NFSPROC_NOOP NFSV4OP_NOPS 234 235/* Actual Version 2 procedure numbers */ 236#define NFSV2PROC_NULL 0 --- 805 unchanged lines hidden --- | 271 * NFSPROC_NOOP is a fake op# that can't be the same as any V2/3/4 Procedure 272 * or Operation#. Since the NFS V4 Op #s go higher, use NFSV4OP_NOPS, which 273 * is one greater than the highest Op#. 274 */ 275#define NFSPROC_NOOP NFSV4OP_NOPS 276 277/* Actual Version 2 procedure numbers */ 278#define NFSV2PROC_NULL 0 --- 805 unchanged lines hidden --- |