aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index 135941738d9d..e714803a52dc 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -426,6 +426,10 @@ typedef struct lanman_neg_rsp {
426 unsigned char EncryptionKey[1]; 426 unsigned char EncryptionKey[1];
427} __attribute__((packed)) LANMAN_NEG_RSP; 427} __attribute__((packed)) LANMAN_NEG_RSP;
428 428
429#define READ_RAW_ENABLE 1
430#define WRITE_RAW_ENABLE 2
431#define RAW_ENABLE (READ_RAW_ENABLE | WRITE_RAW_ENABLE)
432
429typedef struct negotiate_rsp { 433typedef struct negotiate_rsp {
430 struct smb_hdr hdr; /* wct = 17 */ 434 struct smb_hdr hdr; /* wct = 17 */
431 __le16 DialectIndex; 435 __le16 DialectIndex;