Class: PacketGen::Plugin::SMB::Close::Request
- Inherits:
-
Header::Base
- Object
- Header::Base
- PacketGen::Plugin::SMB::Close::Request
- Defined in:
- lib/packetgen/plugin/smb/close/request.rb
Overview
Close Request.
Instance Attribute Summary collapse
-
#byte_count ⇒ Integer
Should be 0.
-
#fid ⇒ Integer
16-bit FID of the object to close.
-
#last_modified ⇒ Integer
32-bit time value encoded as the number of seconds since January 1, 1970 00:00:00.0.
-
#word_count ⇒ Integer
The size, in 2-byte words, of the SMB command parameters.
Class Method Summary collapse
-
.protocol_name ⇒ String
Give protocol name for this class.
Instance Attribute Details
#byte_count ⇒ Integer
Should be 0.
35 |
# File 'lib/packetgen/plugin/smb/close/request.rb', line 35 define_field :byte_count, PacketGen::Types::Int16le, default: 0 |
#fid ⇒ Integer
16-bit FID of the object to close
23 |
# File 'lib/packetgen/plugin/smb/close/request.rb', line 23 define_field :fid, PacketGen::Types::Int16le, default: 3 |
#last_modified ⇒ Integer
32-bit time value encoded as the number of seconds since January 1, 1970 00:00:00.0. The client can request that the last modification time for the file be updated to this time value. A value of 0x00000000
or 0xFFFFFFFF
results in the server not updating the last modification time.
31 |
# File 'lib/packetgen/plugin/smb/close/request.rb', line 31 define_field :last_modified, PacketGen::Types::Int32le |
#word_count ⇒ Integer
The size, in 2-byte words, of the SMB command parameters. It should be 3
.
19 |
# File 'lib/packetgen/plugin/smb/close/request.rb', line 19 define_field :word_count, PacketGen::Types::Int8, default: 3 |
Class Method Details
.protocol_name ⇒ String
Give protocol name for this class
39 40 41 |
# File 'lib/packetgen/plugin/smb/close/request.rb', line 39 def self.protocol_name 'SMB::Close::Request' end |