Sha256: f7404f2278886b2e774511cda7b1ddc06507c0b42a3911f49fa084bcf2c7bdc5

Contents?: true

Size: 584 Bytes

Versions: 10

Compression:

Stored size: 584 Bytes

Contents

module RubySMB
  module SMB2
    module Packet
      # An SMB2 Read Response Packet as defined in
      # [2.2.40 SMB2 SET_INFO Response](https://msdn.microsoft.com/en-us/library/cc246562.aspx)
      class SetInfoResponse < RubySMB::GenericPacket
        endian :little

        smb2_header   :smb2_header
        uint16        :structure_size, label: 'Structure Size', initial_value: 2

        def initialize_instance
          super
          smb2_header.command     = RubySMB::SMB2::Commands::SET_INFO
          smb2_header.flags.reply = 1
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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