Go to the documentation of this file.
13 #include <linux/types.h>
15 #define NCP_PTYPE (0x11)
16 #define NCP_PORT (0x0451)
18 #define NCP_ALLOC_SLOT_REQUEST (0x1111)
19 #define NCP_REQUEST (0x2222)
20 #define NCP_DEALLOC_SLOT_REQUEST (0x5555)
32 #define NCP_REPLY (0x3333)
33 #define NCP_WATCHDOG (0x3E3E)
34 #define NCP_POSITIVE_ACK (0x9999)
47 #define NCP_VOLNAME_LEN (16)
48 #define NCP_NUMBER_OF_VOLUMES (256)
60 #define AR_READ (cpu_to_le16(1))
61 #define AR_WRITE (cpu_to_le16(2))
62 #define AR_EXCLUSIVE (cpu_to_le16(0x20))
64 #define NCP_FILE_ID_LEN 6
74 #define RIM_NAME (cpu_to_le32(1))
75 #define RIM_SPACE_ALLOCATED (cpu_to_le32(2))
76 #define RIM_ATTRIBUTES (cpu_to_le32(4))
77 #define RIM_DATA_SIZE (cpu_to_le32(8))
78 #define RIM_TOTAL_SIZE (cpu_to_le32(0x10))
79 #define RIM_EXT_ATTR_INFO (cpu_to_le32(0x20))
80 #define RIM_ARCHIVE (cpu_to_le32(0x40))
81 #define RIM_MODIFY (cpu_to_le32(0x80))
82 #define RIM_CREATION (cpu_to_le32(0x100))
83 #define RIM_OWNING_NAMESPACE (cpu_to_le32(0x200))
84 #define RIM_DIRECTORY (cpu_to_le32(0x400))
85 #define RIM_RIGHTS (cpu_to_le32(0x800))
86 #define RIM_ALL (cpu_to_le32(0xFFF))
87 #define RIM_COMPRESSED_INFO (cpu_to_le32(0x80000000))
90 #define NSIBM_NFS_NAME 0x0001
91 #define NSIBM_NFS_MODE 0x0002
92 #define NSIBM_NFS_GID 0x0004
93 #define NSIBM_NFS_NLINKS 0x0008
94 #define NSIBM_NFS_RDEV 0x0010
95 #define NSIBM_NFS_LINK 0x0020
96 #define NSIBM_NFS_CREATED 0x0040
97 #define NSIBM_NFS_UID 0x0080
98 #define NSIBM_NFS_ACSFLAG 0x0100
99 #define NSIBM_NFS_MYFLAG 0x0200
102 #define OC_MODE_OPEN 0x01
103 #define OC_MODE_TRUNCATE 0x02
104 #define OC_MODE_REPLACE 0x02
105 #define OC_MODE_CREATE 0x08
108 #define OC_ACTION_NONE 0x00
109 #define OC_ACTION_OPEN 0x01
110 #define OC_ACTION_CREATE 0x02
111 #define OC_ACTION_TRUNCATE 0x04
112 #define OC_ACTION_REPLACE 0x04
116 #define AR_READ_ONLY 0x0001
117 #define AR_WRITE_ONLY 0x0002
118 #define AR_DENY_READ 0x0004
119 #define AR_DENY_WRITE 0x0008
120 #define AR_COMPATIBILITY 0x0010
121 #define AR_WRITE_THROUGH 0x0040
122 #define AR_OPEN_COMPRESSED 0x0100
164 #define DM_ATTRIBUTES (cpu_to_le32(0x02))
165 #define DM_CREATE_DATE (cpu_to_le32(0x04))
166 #define DM_CREATE_TIME (cpu_to_le32(0x08))
167 #define DM_CREATOR_ID (cpu_to_le32(0x10))
168 #define DM_ARCHIVE_DATE (cpu_to_le32(0x20))
169 #define DM_ARCHIVE_TIME (cpu_to_le32(0x40))
170 #define DM_ARCHIVER_ID (cpu_to_le32(0x80))
171 #define DM_MODIFY_DATE (cpu_to_le32(0x0100))
172 #define DM_MODIFY_TIME (cpu_to_le32(0x0200))
173 #define DM_MODIFIER_ID (cpu_to_le32(0x0400))
174 #define DM_LAST_ACCESS_DATE (cpu_to_le32(0x0800))
175 #define DM_INHERITED_RIGHTS_MASK (cpu_to_le32(0x1000))
176 #define DM_MAXIMUM_SPACE (cpu_to_le32(0x2000))