summaryrefslogtreecommitdiff
path: root/fs/ksmbd/smb_common.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-11-03 08:44:38 +0900
committerSteve French <stfrench@microsoft.com>2021-11-11 19:22:58 -0600
commitd6c9ad23b42104f5921e876699a484a57c2b90ff (patch)
tree70e940dd151cf6c4f19663079da3b05329a341cd /fs/ksmbd/smb_common.h
parent4355a8fd816348b2cc781aed0f8643a6910eb2b1 (diff)
ksmbd: use the common definitions for NEGOTIATE_PROTOCOL
Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/smb_common.h')
-rw-r--r--fs/ksmbd/smb_common.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/ksmbd/smb_common.h b/fs/ksmbd/smb_common.h
index e7d698154699..8ed09ba782c2 100644
--- a/fs/ksmbd/smb_common.h
+++ b/fs/ksmbd/smb_common.h
@@ -33,17 +33,6 @@
#define SMB302_VERSION_STRING "3.02"
#define SMB311_VERSION_STRING "3.1.1"
-/* Dialects */
-#define SMB10_PROT_ID 0x00
-#define SMB20_PROT_ID 0x0202
-#define SMB21_PROT_ID 0x0210
-/* multi-protocol negotiate request */
-#define SMB2X_PROT_ID 0x02FF
-#define SMB30_PROT_ID 0x0300
-#define SMB302_PROT_ID 0x0302
-#define SMB311_PROT_ID 0x0311
-#define BAD_PROT_ID 0xFFFF
-
#define SMB_ECHO_INTERVAL (60 * HZ)
#define CIFS_DEFAULT_IOSIZE (64 * 1024)