Sha256: 8983dcc4acc81fff5206bfdbaa0cb7fa86cb942fc0311bc8c73fc0c81c7b34db
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
# frozen_string_literal: true # This file is part of packetgen-plugin-smb. # See https://github.com/sdaubert/packetgen-plugin-smb for more informations # Copyright (C) 2018 Sylvain Daubert <sylvain.daubert@laposte.net> # This program is published under MIT license. module PacketGen::Plugin class SMB module Close # Close Response. # # This is a void container. {#word_count} and {#byte_count} should be 0. # @author Sylvain Daubert # @since 0.3.0 class Response < PacketGen::Header::Base # @!attribute word_count # The size, in 2-byte words, of the SMB command parameters. It should # be +0+. # @return [Integer] define_field :word_count, PacketGen::Types::Int8, default: 3 define_field :last_modified, PacketGen::Types::Int32le # @!attribute byte_count # Should be 0. # @return [Integer] define_field :byte_count, PacketGen::Types::Int16le, default: 0 # Give protocol name for this class # @return [String] def self.protocol_name 'SMB::Close::Response' end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
packetgen-plugin-smb-0.6.3 | lib/packetgen/plugin/smb/close/response.rb |
packetgen-plugin-smb-0.6.2 | lib/packetgen/plugin/smb/close/response.rb |