summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/smbsrv/smb_ktypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/smbsrv/smb_ktypes.h')
-rw-r--r--usr/src/uts/common/smbsrv/smb_ktypes.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/usr/src/uts/common/smbsrv/smb_ktypes.h b/usr/src/uts/common/smbsrv/smb_ktypes.h
index 89b057ff91..a220faef6b 100644
--- a/usr/src/uts/common/smbsrv/smb_ktypes.h
+++ b/usr/src/uts/common/smbsrv/smb_ktypes.h
@@ -730,11 +730,6 @@ typedef struct smb_arg_negotiate {
timestruc_t ni_servertime;
} smb_arg_negotiate_t;
-typedef struct smb2_arg_negotiate {
- struct smb2_neg_ctxs *neg_in_ctxs;
- struct smb2_neg_ctxs *neg_out_ctxs;
-} smb2_arg_negotiate_t;
-
typedef enum {
SMB_SSNSETUP_PRE_NTLM012 = 1,
SMB_SSNSETUP_NTLM012_NOEXT,
@@ -911,8 +906,6 @@ typedef enum {
#define SMB_SSN_AAPL_CCEXT 1 /* Saw "AAPL" create ctx. ext. */
#define SMB_SSN_AAPL_READDIR 2 /* Wants MacOS ext. readdir */
-#define SMB2_NEGOTIATE_MAX_DIALECTS 64
-
typedef struct smb_session {
list_node_t s_lnd;
uint32_t s_magic;
@@ -977,11 +970,6 @@ typedef struct smb_session {
timeout_id_t s_auth_tmo;
/*
- * Client dialects
- */
- uint16_t cli_dialect_cnt;
- uint16_t cli_dialects[SMB2_NEGOTIATE_MAX_DIALECTS];
- /*
* Maximum negotiated buffer sizes between SMB client and server
* in SMB_SESSION_SETUP_ANDX
*/
@@ -1925,7 +1913,6 @@ typedef struct smb_request {
uint32_t sr_seqnum;
union {
- smb2_arg_negotiate_t nego2;
smb_arg_negotiate_t *negprot;
smb_arg_sessionsetup_t *ssetup;
smb_arg_tcon_t tcon;
@@ -1941,7 +1928,6 @@ typedef struct smb_request {
#define sr_ssetup arg.ssetup
#define sr_negprot arg.negprot
-#define sr_nego2 arg.nego2
#define sr_tcon arg.tcon
#define sr_dirop arg.dirop
#define sr_open arg.open