~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/nfs2.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/nfs2.h (Version linux-6.12-rc7) and /include/uapi/linux/nfs2.h (Version linux-2.6.32.71)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 
  2 /*                                                
  3  * NFS protocol definitions                       
  4  *                                                
  5  * This file contains constants for Version 2     
  6  */                                               
  7 #ifndef _LINUX_NFS2_H                             
  8 #define _LINUX_NFS2_H                             
  9                                                   
 10 #define NFS2_PORT       2049                      
 11 #define NFS2_MAXDATA    8192                      
 12 #define NFS2_MAXPATHLEN 1024                      
 13 #define NFS2_MAXNAMLEN  255                       
 14 #define NFS2_MAXGROUPS  16                        
 15 #define NFS2_FHSIZE     32                        
 16 #define NFS2_COOKIESIZE 4                         
 17 #define NFS2_FIFO_DEV   (-1)                      
 18 #define NFS2MODE_FMT    0170000                   
 19 #define NFS2MODE_DIR    0040000                   
 20 #define NFS2MODE_CHR    0020000                   
 21 #define NFS2MODE_BLK    0060000                   
 22 #define NFS2MODE_REG    0100000                   
 23 #define NFS2MODE_LNK    0120000                   
 24 #define NFS2MODE_SOCK   0140000                   
 25 #define NFS2MODE_FIFO   0010000                   
 26                                                   
 27                                                   
 28 /* NFSv2 file types - beware, these are not th    
 29 enum nfs2_ftype {                                 
 30         NF2NON = 0,                               
 31         NF2REG = 1,                               
 32         NF2DIR = 2,                               
 33         NF2BLK = 3,                               
 34         NF2CHR = 4,                               
 35         NF2LNK = 5,                               
 36         NF2SOCK = 6,                              
 37         NF2BAD = 7,                               
 38         NF2FIFO = 8                               
 39 };                                                
 40                                                   
 41 struct nfs2_fh {                                  
 42         char                    data[NFS2_FHSI    
 43 };                                                
 44                                                   
 45 /*                                                
 46  * Procedure numbers for NFSv2                    
 47  */                                               
 48 #define NFS2_VERSION            2                 
 49 #define NFSPROC_NULL            0                 
 50 #define NFSPROC_GETATTR         1                 
 51 #define NFSPROC_SETATTR         2                 
 52 #define NFSPROC_ROOT            3                 
 53 #define NFSPROC_LOOKUP          4                 
 54 #define NFSPROC_READLINK        5                 
 55 #define NFSPROC_READ            6                 
 56 #define NFSPROC_WRITECACHE      7                 
 57 #define NFSPROC_WRITE           8                 
 58 #define NFSPROC_CREATE          9                 
 59 #define NFSPROC_REMOVE          10                
 60 #define NFSPROC_RENAME          11                
 61 #define NFSPROC_LINK            12                
 62 #define NFSPROC_SYMLINK         13                
 63 #define NFSPROC_MKDIR           14                
 64 #define NFSPROC_RMDIR           15                
 65 #define NFSPROC_READDIR         16                
 66 #define NFSPROC_STATFS          17                
 67                                                   
 68 #endif /* _LINUX_NFS2_H */                        
 69                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php