Module: RubySMB::SMB1::Packet::Trans2::Subcommands
- Defined in:
- lib/ruby_smb/smb1/packet/trans2/subcommands.rb
Overview
Transaction2 subcommand constants as defined in 2.2.6 Transaction2 Subcommands
Constant Summary collapse
- OPEN2 =
0x0000- FIND_FIRST2 =
0x0001- FIND_NEXT2 =
0x0002- QUERY_FS_INFORMATION =
0x0003- SET_FS_INFORMATION =
0x0004- QUERY_PATH_INFORMATION =
0x0005- SET_PATH_INFORMATION =
0x0006- QUERY_FILE_INFORMATION =
0x0007- SET_FILE_INFORMATION =
0x0008- FSCTL =
0x0009- IOCTL2 =
0x000A- FIND_NOTIFY_FIRST =
0x000B- FIND_NOTIFY_NEXT =
0x000C- CREATE_DIRECTORY =
0x000D- SESSION_SETUP =
0x000E- GET_DFS_REFERRAL =
0x0010- REPORT_DFS_INCONSISTENCY =
0x0011
Class Method Summary collapse
Class Method Details
.name(value) ⇒ Object
26 27 28 |
# File 'lib/ruby_smb/smb1/packet/trans2/subcommands.rb', line 26 def self.name(value) constants.select { |c| c.upcase == c }.find { |c| const_get(c) == value } end |