Commit 0df7edd9 authored by Steve French's avatar Steve French

Add new flag on SMB3.1.1 read

For compressed read support.  See MS-SMB2 3.1.4.4
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 2f3ebaba
...@@ -1078,6 +1078,7 @@ struct smb2_flush_rsp { ...@@ -1078,6 +1078,7 @@ struct smb2_flush_rsp {
/* For read request Flags field below, following flag is defined for SMB3.02 */ /* For read request Flags field below, following flag is defined for SMB3.02 */
#define SMB2_READFLAG_READ_UNBUFFERED 0x01 #define SMB2_READFLAG_READ_UNBUFFERED 0x01
#define SMB2_READFLAG_REQUEST_COMPRESSED 0x02 /* See MS-SMB2 2.2.19 */
/* Channel field for read and write: exactly one of following flags can be set*/ /* Channel field for read and write: exactly one of following flags can be set*/
#define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000) #define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment