Sha256: 2e2f77797e0bac20b98cea9484b4c971edda442844df730c27a45b327f44819a

Contents?: true

Size: 600 Bytes

Versions: 10

Compression:

Stored size: 600 Bytes

Contents

module RubySMB
  module SMB2
    module Packet
      # An SMB2 LOGOFF Request Packet as defined in
      # [2.2.7 SMB2 LOGOFF Request](https://msdn.microsoft.com/en-us/library/cc246565.aspx)
      class LogoffRequest < RubySMB::GenericPacket
        endian       :little
        smb2_header  :smb2_header
        uint16       :structure_size, label: 'Structure Size', initial_value: 4
        uint16       :reserved,       label: 'Reserved Space'

        def initialize_instance
          super
          smb2_header.command = RubySMB::SMB2::Commands::LOGOFF
        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/logoff_request.rb
ruby_smb-1.0.2 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-1.0.1 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-1.0.0 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-0.0.24 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-0.0.23 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-0.0.22 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-0.0.21 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-0.0.20 lib/ruby_smb/smb2/packet/logoff_request.rb
ruby_smb-0.0.19 lib/ruby_smb/smb2/packet/logoff_request.rb