Sha256: 02c6e169044a0bafde8e629ac92f16770e025138657bdc0e0705cfbc804845ba

Contents?: true

Size: 640 Bytes

Versions: 8

Compression:

Stored size: 640 Bytes

Contents

module RubySMB
  module SMB2
    module Packet
      # An SMB2 TreeDisconnectRequest Packet as defined in
      # [2.2.11 SMB2 TREE_DISCONNECT Request](https://msdn.microsoft.com/en-us/library/cc246500.aspx)
      class TreeDisconnectRequest < RubySMB::GenericPacket
        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.command = RubySMB::SMB2::Commands::TREE_DISCONNECT
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_smb-1.0.3 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
ruby_smb-1.0.2 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
ruby_smb-1.0.1 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
ruby_smb-1.0.0 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
ruby_smb-0.0.24 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
ruby_smb-0.0.23 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
ruby_smb-0.0.22 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
ruby_smb-0.0.21 lib/ruby_smb/smb2/packet/tree_disconnect_request.rb