Sha256: b7e579682008d11e2a52761d9201d911262222987adf3f2c0a0debf4e5b26c69

Contents?: true

Size: 668 Bytes

Versions: 35

Compression:

Stored size: 668 Bytes

Contents

module RubySMB
  module SMB2
    module Packet
      # An SMB2 TreeDisconnectResponse Packet as defined in
      # [2.2.12 SMB2 TREE_DISCONNECT Response](https://msdn.microsoft.com/en-us/library/cc246501.aspx)
      class TreeDisconnectResponse < RubySMB::GenericPacket
        COMMAND = RubySMB::SMB2::Commands::TREE_DISCONNECT

        endian       :little
        smb2_header  :smb2_header
        uint16       :structure_size, label: 'Structure Size', initial_value: 4
        uint16       :reserved, label: 'Reserved', initial_value: 0

        def initialize_instance
          super
          smb2_header.flags.reply = 1
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
ruby_smb-3.3.12 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.11 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.10 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.9 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.7 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.6 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.5 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.4 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.3 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.2 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.1 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.3.0 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.8 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.7 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.6 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.5 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.4 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.3 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.2 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.2.1 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb