Sha256: c050f0954da98f1e8f9132cc12a33020259519d2fa71cd2be54b333c0ab14914
Contents?: true
Size: 1.53 KB
Versions: 30
Compression:
Stored size: 1.53 KB
Contents
module RubySMB module SMB1 module Packet module Trans2 # SMB_QUERY_FS_ATTRIBUTE_INFO Class as defined in # [2.2.8.2.6 SMB_QUERY_FS_ATTRIBUTE_INFO](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cifs/1011206a-55c5-4dbf-aff0-119514136940) module QueryFsInformationLevel class QueryFsAttributeInfo < BinData::Record CLASS_LEVEL = SMB_QUERY_FS_ATTRIBUTE_INFO endian :little struct :file_system_attributes, label: 'File System Attributes' do bit3 :reserved1 bit1 :file_file_compression, label: 'File Compression' bit1 :file_persistent_acls, label: 'Persistent ACLs' bit1 :file_unicode_on_disk, label: 'Unicode on Disk' bit1 :file_case_preserved_names, label: 'Case Preserved Names' bit1 :file_case_sensitive_search, label: 'Case Sensitive Search' # byte boundary bit1 :file_volume_is_compressed, label: 'Volume is Compressed' bit23 :reserved2 end uint32 :max_file_name_length_in_bytes, label: 'Max File Name Length In Bytes' uint32 :length_of_file_system_name, label: 'Length of File System Name', initial_value: -> { file_system_name.num_bytes } string16 :file_system_name, label: 'File System name', read_length: -> { length_of_file_system_name } end end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems