Skip to main content

Compression-Type

5.2. Compression-Type​

Description

This Configuration Option provides a way to negotiate the use of a specific compression protocol. By default, compression is not enabled.

A summary of the Compression-Type Configuration Option format is shown below. The fields are transmitted from left to right.

 0                   1                   2                   3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Compression-Type |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Data ...
+-+-+-+-+

Type

2

Length

>= 4

Compression-Type

The Compression-Type field is two octets and indicates the type of compression protocol desired. Values for the Compression-Type are always the same as the PPP Data Link Layer Protocol field values for that same compression protocol. The most up-to-date values of the Compression-Type field are specified in "Assigned Numbers" [2]. Initial values are assigned as follows:

   Value (in hex)          Protocol
0037 Van Jacobson Compressed TCP/IP

Data

The Data field is zero or more octets and contains additional data as determined by the compression protocol indicated in the Compression-Type field.

Default

No compression protocol enabled.