diff options
Diffstat (limited to 'usr/src/uts/common/smbsrv/smbinfo.h')
| -rw-r--r-- | usr/src/uts/common/smbsrv/smbinfo.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/usr/src/uts/common/smbsrv/smbinfo.h b/usr/src/uts/common/smbsrv/smbinfo.h index 0673551d58..18e259c980 100644 --- a/usr/src/uts/common/smbsrv/smbinfo.h +++ b/usr/src/uts/common/smbsrv/smbinfo.h @@ -102,9 +102,16 @@ extern "C" { */ #define SMB_PI_MAX_WORKERS_MIN 64 +/* + * sv_size is used by the RPC services and should be set to + * sizeof (smb_version_t). + */ typedef struct smb_version { - uint8_t sv_major; - uint8_t sv_minor; + uint32_t sv_size; + uint32_t sv_major; + uint32_t sv_minor; + uint32_t sv_build_number; + uint32_t sv_platform_id; } smb_version_t; typedef struct smb_kmod_cfg { @@ -137,13 +144,14 @@ typedef struct smb_kmod_cfg { /* * Major version numbers */ -#define SMB_MAJOR_NT 4 +#define SMB_MAJOR_NT 4 /* Windows 95/98/Me, Windows NT4.0 */ #define SMB_MAJOR_2000 5 #define SMB_MAJOR_XP 5 #define SMB_MAJOR_2003 5 #define SMB_MAJOR_VISTA 6 #define SMB_MAJOR_2008 6 #define SMB_MAJOR_2008R2 6 +#define SMB_MAJOR_7 6 /* * Minor version numbers @@ -155,6 +163,7 @@ typedef struct smb_kmod_cfg { #define SMB_MINOR_VISTA 0 #define SMB_MINOR_2008 0 #define SMB_MINOR_2008R2 1 +#define SMB_MINOR_7 1 /* * Max version length in string format |
