Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
nfs2.h File Reference

Go to the source code of this file.

Data Structures

struct  nfs2_fh
 

Macros

#define NFS2_PORT   2049
 
#define NFS2_MAXDATA   8192
 
#define NFS2_MAXPATHLEN   1024
 
#define NFS2_MAXNAMLEN   255
 
#define NFS2_MAXGROUPS   16
 
#define NFS2_FHSIZE   32
 
#define NFS2_COOKIESIZE   4
 
#define NFS2_FIFO_DEV   (-1)
 
#define NFS2MODE_FMT   0170000
 
#define NFS2MODE_DIR   0040000
 
#define NFS2MODE_CHR   0020000
 
#define NFS2MODE_BLK   0060000
 
#define NFS2MODE_REG   0100000
 
#define NFS2MODE_LNK   0120000
 
#define NFS2MODE_SOCK   0140000
 
#define NFS2MODE_FIFO   0010000
 
#define NFS2_VERSION   2
 
#define NFSPROC_NULL   0
 
#define NFSPROC_GETATTR   1
 
#define NFSPROC_SETATTR   2
 
#define NFSPROC_ROOT   3
 
#define NFSPROC_LOOKUP   4
 
#define NFSPROC_READLINK   5
 
#define NFSPROC_READ   6
 
#define NFSPROC_WRITECACHE   7
 
#define NFSPROC_WRITE   8
 
#define NFSPROC_CREATE   9
 
#define NFSPROC_REMOVE   10
 
#define NFSPROC_RENAME   11
 
#define NFSPROC_LINK   12
 
#define NFSPROC_SYMLINK   13
 
#define NFSPROC_MKDIR   14
 
#define NFSPROC_RMDIR   15
 
#define NFSPROC_READDIR   16
 
#define NFSPROC_STATFS   17
 

Enumerations

enum  nfs2_ftype {
  NF2NON = 0, NF2REG = 1, NF2DIR = 2, NF2BLK = 3,
  NF2CHR = 4, NF2LNK = 5, NF2SOCK = 6, NF2BAD = 7,
  NF2FIFO = 8
}
 

Macro Definition Documentation

#define NFS2_COOKIESIZE   4

Definition at line 15 of file nfs2.h.

#define NFS2_FHSIZE   32

Definition at line 14 of file nfs2.h.

#define NFS2_FIFO_DEV   (-1)

Definition at line 16 of file nfs2.h.

#define NFS2_MAXDATA   8192

Definition at line 10 of file nfs2.h.

#define NFS2_MAXGROUPS   16

Definition at line 13 of file nfs2.h.

#define NFS2_MAXNAMLEN   255

Definition at line 12 of file nfs2.h.

#define NFS2_MAXPATHLEN   1024

Definition at line 11 of file nfs2.h.

#define NFS2_PORT   2049

Definition at line 9 of file nfs2.h.

#define NFS2_VERSION   2

Definition at line 47 of file nfs2.h.

#define NFS2MODE_BLK   0060000

Definition at line 20 of file nfs2.h.

#define NFS2MODE_CHR   0020000

Definition at line 19 of file nfs2.h.

#define NFS2MODE_DIR   0040000

Definition at line 18 of file nfs2.h.

#define NFS2MODE_FIFO   0010000

Definition at line 24 of file nfs2.h.

#define NFS2MODE_FMT   0170000

Definition at line 17 of file nfs2.h.

#define NFS2MODE_LNK   0120000

Definition at line 22 of file nfs2.h.

#define NFS2MODE_REG   0100000

Definition at line 21 of file nfs2.h.

#define NFS2MODE_SOCK   0140000

Definition at line 23 of file nfs2.h.

#define NFSPROC_CREATE   9

Definition at line 57 of file nfs2.h.

#define NFSPROC_GETATTR   1

Definition at line 49 of file nfs2.h.

#define NFSPROC_LINK   12

Definition at line 60 of file nfs2.h.

#define NFSPROC_LOOKUP   4

Definition at line 52 of file nfs2.h.

#define NFSPROC_MKDIR   14

Definition at line 62 of file nfs2.h.

#define NFSPROC_NULL   0

Definition at line 48 of file nfs2.h.

#define NFSPROC_READ   6

Definition at line 54 of file nfs2.h.

#define NFSPROC_READDIR   16

Definition at line 64 of file nfs2.h.

#define NFSPROC_READLINK   5

Definition at line 53 of file nfs2.h.

#define NFSPROC_REMOVE   10

Definition at line 58 of file nfs2.h.

#define NFSPROC_RENAME   11

Definition at line 59 of file nfs2.h.

#define NFSPROC_RMDIR   15

Definition at line 63 of file nfs2.h.

#define NFSPROC_ROOT   3

Definition at line 51 of file nfs2.h.

#define NFSPROC_SETATTR   2

Definition at line 50 of file nfs2.h.

#define NFSPROC_STATFS   17

Definition at line 65 of file nfs2.h.

#define NFSPROC_SYMLINK   13

Definition at line 61 of file nfs2.h.

#define NFSPROC_WRITE   8

Definition at line 56 of file nfs2.h.

#define NFSPROC_WRITECACHE   7

Definition at line 55 of file nfs2.h.

Enumeration Type Documentation

enum nfs2_ftype
Enumerator:
NF2NON 
NF2REG 
NF2DIR 
NF2BLK 
NF2CHR 
NF2LNK 
NF2SOCK 
NF2BAD 
NF2FIFO 

Definition at line 28 of file nfs2.h.