Changeset 740 for vendor/current/libcli/smb
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- Location:
- vendor/current/libcli/smb
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/libcli/smb/smb2_constants.h
r414 r740 29 29 #define SMB2_HDR_STATUS 0x08 30 30 #define SMB2_HDR_OPCODE 0x0c 31 #define SMB2_HDR_CREDIT 31 #define SMB2_HDR_CREDIT 0x0e 32 32 #define SMB2_HDR_FLAGS 0x10 33 33 #define SMB2_HDR_NEXT_COMMAND 0x14 … … 38 38 #define SMB2_HDR_SIGNATURE 0x30 /* 16 bytes */ 39 39 #define SMB2_HDR_BODY 0x40 40 41 /* offsets into header elements for an async SMB2 request */ 42 #define SMB2_HDR_ASYNC_ID 0x20 40 43 41 44 /* header flags */ … … 82 85 #define SMB2_CAP_DFS 0x00000001 83 86 #define SMB2_CAP_LEASING 0x00000002 /* only in dialect 0x210 */ 87 #define SMB2_CAP_LARGE_MTU 0x00000004 /* only in dialect 0x210 */ 84 88 /* so we can spot new caps as added */ 85 89 #define SMB2_CAP_ALL SMB2_CAP_DFS … … 88 92 #define SMB2_SESSION_FLAG_IS_GUEST 0x0001 89 93 #define SMB2_SESSION_FLAG_IS_NULL 0x0002 94 95 /* SMB2 sharetype flags */ 96 #define SMB2_SHARE_TYPE_DISK 0x1 97 #define SMB2_SHARE_TYPE_PIPE 0x2 98 #define SMB2_SHARE_TYPE_PRINT 0x3 90 99 91 100 /* SMB2 share flags */ … … 101 110 #define SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM 0x0800 102 111 #define SMB2_SHAREFLAG_ALL 0x0F33 112 113 /* SMB2 share capafilities */ 114 #define SMB2_SHARE_CAP_DFS 0x8 103 115 104 116 /* SMB2 create security flags */ … … 173 185 #define SMB2_GETINFO_QUOTA 0x04 174 186 187 #define SMB2_CLOSE_FLAGS_FULL_INFORMATION (0x01) 188 175 189 #endif
Note:
See TracChangeset
for help on using the changeset viewer.