Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: nfs2.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* NFS protocol definitions
[2] Fix | Delete
*
[3] Fix | Delete
* This file contains constants for Version 2 of the protocol.
[4] Fix | Delete
*/
[5] Fix | Delete
#ifndef _LINUX_NFS2_H
[6] Fix | Delete
#define _LINUX_NFS2_H
[7] Fix | Delete
[8] Fix | Delete
#define NFS2_PORT 2049
[9] Fix | Delete
#define NFS2_MAXDATA 8192
[10] Fix | Delete
#define NFS2_MAXPATHLEN 1024
[11] Fix | Delete
#define NFS2_MAXNAMLEN 255
[12] Fix | Delete
#define NFS2_MAXGROUPS 16
[13] Fix | Delete
#define NFS2_FHSIZE 32
[14] Fix | Delete
#define NFS2_COOKIESIZE 4
[15] Fix | Delete
#define NFS2_FIFO_DEV (-1)
[16] Fix | Delete
#define NFS2MODE_FMT 0170000
[17] Fix | Delete
#define NFS2MODE_DIR 0040000
[18] Fix | Delete
#define NFS2MODE_CHR 0020000
[19] Fix | Delete
#define NFS2MODE_BLK 0060000
[20] Fix | Delete
#define NFS2MODE_REG 0100000
[21] Fix | Delete
#define NFS2MODE_LNK 0120000
[22] Fix | Delete
#define NFS2MODE_SOCK 0140000
[23] Fix | Delete
#define NFS2MODE_FIFO 0010000
[24] Fix | Delete
[25] Fix | Delete
[26] Fix | Delete
/* NFSv2 file types - beware, these are not the same in NFSv3 */
[27] Fix | Delete
enum nfs2_ftype {
[28] Fix | Delete
NF2NON = 0,
[29] Fix | Delete
NF2REG = 1,
[30] Fix | Delete
NF2DIR = 2,
[31] Fix | Delete
NF2BLK = 3,
[32] Fix | Delete
NF2CHR = 4,
[33] Fix | Delete
NF2LNK = 5,
[34] Fix | Delete
NF2SOCK = 6,
[35] Fix | Delete
NF2BAD = 7,
[36] Fix | Delete
NF2FIFO = 8
[37] Fix | Delete
};
[38] Fix | Delete
[39] Fix | Delete
struct nfs2_fh {
[40] Fix | Delete
char data[NFS2_FHSIZE];
[41] Fix | Delete
};
[42] Fix | Delete
[43] Fix | Delete
/*
[44] Fix | Delete
* Procedure numbers for NFSv2
[45] Fix | Delete
*/
[46] Fix | Delete
#define NFS2_VERSION 2
[47] Fix | Delete
#define NFSPROC_NULL 0
[48] Fix | Delete
#define NFSPROC_GETATTR 1
[49] Fix | Delete
#define NFSPROC_SETATTR 2
[50] Fix | Delete
#define NFSPROC_ROOT 3
[51] Fix | Delete
#define NFSPROC_LOOKUP 4
[52] Fix | Delete
#define NFSPROC_READLINK 5
[53] Fix | Delete
#define NFSPROC_READ 6
[54] Fix | Delete
#define NFSPROC_WRITECACHE 7
[55] Fix | Delete
#define NFSPROC_WRITE 8
[56] Fix | Delete
#define NFSPROC_CREATE 9
[57] Fix | Delete
#define NFSPROC_REMOVE 10
[58] Fix | Delete
#define NFSPROC_RENAME 11
[59] Fix | Delete
#define NFSPROC_LINK 12
[60] Fix | Delete
#define NFSPROC_SYMLINK 13
[61] Fix | Delete
#define NFSPROC_MKDIR 14
[62] Fix | Delete
#define NFSPROC_RMDIR 15
[63] Fix | Delete
#define NFSPROC_READDIR 16
[64] Fix | Delete
#define NFSPROC_STATFS 17
[65] Fix | Delete
[66] Fix | Delete
#endif /* _LINUX_NFS2_H */
[67] Fix | Delete
[68] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function