Class: RubySMB::SMB1::Packet::NtTrans::CreateRequest

Inherits:
GenericPacket
  • Object
show all
Defined in:
lib/ruby_smb/smb1/packet/nt_trans/create_request.rb

Overview

Class representing a generic NT Transaction request packet as defined in 2.2.4.62.1 Request

Defined Under Namespace

Classes: DataBlock, ParameterBlock, Trans2Data, Trans2Parameters

Constant Summary collapse

COMMAND =
RubySMB::SMB1::Commands::SMB_COM_NT_TRANSACT

Instance Method Summary collapse

Methods inherited from GenericPacket

describe, #display, fields_hashed, format_field, from_hex, #packet_smb_version, read, #status_code, #valid?, walk_fields

Instance Method Details

#initialize_instanceObject



84
85
86
87
# File 'lib/ruby_smb/smb1/packet/nt_trans/create_request.rb', line 84

def initialize_instance
  super
  parameter_block.function = RubySMB::SMB1::Packet::NtTrans::Subcommands::CREATE
end