Class: PacketGen::Plugin::SMB::Close::Response
- Inherits:
-
Header::Base
- Object
- Header::Base
- PacketGen::Plugin::SMB::Close::Response
- Defined in:
- lib/packetgen/plugin/smb/close/response.rb
Overview
Close Response.
This is a void container. #word_count and #byte_count should be 0.
Instance Attribute Summary collapse
-
#byte_count ⇒ Integer
Should be 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.
26 |
# File 'lib/packetgen/plugin/smb/close/response.rb', line 26 define_field :byte_count, PacketGen::Types::Int16le, default: 0 |
#word_count ⇒ Integer
The size, in 2-byte words, of the SMB command parameters. It should be 0
.
21 |
# File 'lib/packetgen/plugin/smb/close/response.rb', line 21 define_field :word_count, PacketGen::Types::Int8, default: 3 |
Class Method Details
.protocol_name ⇒ String
Give protocol name for this class
30 31 32 |
# File 'lib/packetgen/plugin/smb/close/response.rb', line 30 def self.protocol_name 'SMB::Close::Response' end |