Class: RubySMB::SMB1::Packet::Trans2::SetFsInformationRequestTrans2Data
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- RubySMB::SMB1::Packet::Trans2::SetFsInformationRequestTrans2Data
- Defined in:
- lib/ruby_smb/smb1/packet/trans2/set_fs_information_request.rb
Overview
The Trans2 Data Block for TRANS2_SET_FS_INFORMATION.
The data layout depends on the Information Level being set, so the block carries an opaque byte buffer that the caller fills in for the target info level. SMB_SET_CIFS_UNIX_INFO (0x0200) for example carries a QueryFsCifsUnixInfo-shaped record (major/minor/caps).
Not documented in
MS-CIFS 2.2.6.5 TRANS2_SET_FS_INFORMATION (0x0004);
per-level layouts are defined by the CIFS UNIX Extensions draft
and implemented in
source3/smbd/smb1_trans2.c:1706-1915 (call_trans2setfsinfo).
Instance Method Summary collapse
-
#length ⇒ Object
Returns the length of the Trans2Data struct in number of bytes.
Instance Method Details
#length ⇒ Object
Returns the length of the Trans2Data struct in number of bytes
45 46 47 |
# File 'lib/ruby_smb/smb1/packet/trans2/set_fs_information_request.rb', line 45 def length do_num_bytes end |