Class: RubySMB::SMB2::CompressionCapabilities

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/ruby_smb/smb2/negotiate_context.rb

Overview

An SMB2 COMPRESSION_CAPABILITIES context struct as defined in 2.2.3.1.3 SMB2_COMPRESSION_CAPABILITIES

Constant Summary collapse

SMB2_COMPRESSION_CAPABILITIES_FLAG_NONE =

Flags Chained compression is not supported.

0x00000000
SMB2_COMPRESSION_CAPABILITIES_FLAG_CHAINED =

Chained compression is supported on this connection.

0x00000001
NONE =

Compression Algorithms

0x0000
LZNT1 =
0x0001
LZ77 =
0x0002
LZ77_Huffman =
0x0003
Pattern_V1 =
0x0004
COMPRESSION_ALGORITHM_MAP =
{
  NONE         => 'NONE',
  LZNT1        => 'LZNT1',
  LZ77         => 'LZ77',
  LZ77_Huffman => 'LZ77_Huffman',
  Pattern_V1   => 'Pattern_V1'
}