lib/ruby_smb/smb2.rb in ruby_smb-3.0.0 vs lib/ruby_smb/smb2.rb in ruby_smb-3.0.1
- old
+ new
@@ -6,9 +6,20 @@
# Protocol ID value. Translates to \xFESMB
SMB2_PROTOCOL_ID = 0xFE534D42
# Wildcard revision, see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/63abf97c-0d09-47e2-88d6-6bfa552949a5
SMB2_WILDCARD_REVISION = 0x02ff
+ # Channel types, see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/320f04f3-1b28-45cd-aaa1-9e5aed810dca
+ SMB2_CHANNEL_NONE = 0
+ SMB2_CHANNEL_RDMA_V1 = 1
+ SMB2_CHANNEL_RDMA_V1_INVALIDATE = 2
+
+ # Information types, see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/d623b2f7-a5cd-4639-8cc9-71fa7d9f9ba9
+ SMB2_INFO_FILE = 1
+ SMB2_INFO_FILESYSTEM = 2
+ SMB2_INFO_SECURITY = 3
+ SMB2_INFO_QUOTA = 4
+
require 'ruby_smb/smb2/info_type'
require 'ruby_smb/smb2/commands'
require 'ruby_smb/smb2/create_context'
require 'ruby_smb/smb2/bit_field'
require 'ruby_smb/smb2/smb2_header'