CCP, PPP Compression Control Protocol |
Description | Glossary | RFCs | Publications | Obsolete RFCs |
Protocol suite: | PPP. |
Protocol type: | PPP Network Control Protocol. |
PPP protocol: | 0x80FD. |
SNMP MIBs: | |
Working groups: | pppext, Point-to-Point Protocol Extensions. |
Links: | PPP Assigned numbers. |
The CCP protocol is used for establishing and configuring data compression algorithms over PPP.
RFC 1962, pages 2 and 3:
CCP is responsible for configuring, enabling, and disabling data compression algorithms on both ends of the point-to-point link. It is also used to signal a failure of the compression/ decompression mechanism in a reliable manner.
CCP uses the same packet exchange mechanism as the Link Control Protocol (LCP). CCP packets may not be exchanged until PPP has reached the Network-Layer Protocol phase. CCP packets received before this phase is reached should be silently discarded.
Before any compressed packets may be communicated, PPP must reach the Network-Layer Protocol phase, and the Compression Control Protocol must reach the Opened state.
PPP header | CCP header | Data ::: |
CCP header:
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code | Identifier | Length | |||||||||||||||||||||||||||||
Data ::: |
Code.
8 bits.
Specifies the function to be performed.
Code | Description | References |
---|---|---|
0 | Vendor Specific. | RFC 2153 |
1 | Configure-Request. | |
2 | Configure-Ack. | |
3 | Configure-Nak. | |
4 | Configure-Reject. | |
5 | Terminate-Request. | |
6 | Terminate-Ack. | |
7 | Code-Reject. | |
8 - 13 | ||
14 | Reset-Request. | RFC 1962 |
15 | Reset-Reply. | RFC 1962 |
Identifier.
8 bits.
Used to match requests and replies.
Length.
16 bits.
Size of the packet including the header.
Data.
Variable length.
Zero or more bytes of data as indicated by the Length field.
This field may contain one or more CCP options.
CCP Configuration Options:
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Option | Length | ||||||||||||||
Data ::: |
Option. 8 bits.
Option | Length | Description | References |
---|---|---|---|
0 | >= 6 | OUI. | RFC 1962 |
1 | Predictor type 1. | RFC 1962 | |
2 | Predictor type 2. | RFC 1962 | |
3 | Puddle Jumper. | RFC 1962 | |
4 - 15 | These options are intended to be assigned to other freely available compression algorithms that have no license fees. | ||
16 | Hewlett-Packard PPC. | RFC 1962 | |
17 | 5 | LZS, PPP Stac LZS Compression Protocol. | RFC 1974 |
18 | 6 |
MPPC, Microsoft Point-To-Point Compression Protocol. MPPE, Microsoft Point-To-Point Encryption Protocol. |
RFC 2118 RFC 3078 |
19 | >= 3 | FZA, PPP Gandalf FZA Compression Protocol. | RFC 1993 |
20 | V.42bis compression. | RFC 1962 | |
21 | 3 | BSD, PPP BSD Compression Protocol. | RFC 1977 |
22 | |||
23 | 6 | LZS-DCP, PPP LZS-DCP Compression Protocol. | RFC 1967 |
24 | 4 | MVRCA, PPP Magnalink Variable Resource Compression Algorithm. | RFC 1975 |
25 | 3 | DCE, PPP for Data Compression in Data Circuit-Terminating Equipment. | RFC 1976 |
26 | 3 | Deflate, PPP Deflate Protocol. | RFC 1979 |
27 | V.44/LZJH Compression Protocol. | ||
28 - 254 | |||
255 | Reserved. | RFC 1962 |
Length. 8 bits.
Data. Variable length.
RFCs:
[RFC 1915] Variance for The PPP Connection Control Protocol and The PPP Encryption Control Protocol.
[RFC 1962] The PPP Compression Control Protocol (CCP).
[RFC 1967] PPP LZS-DCP Compression Protocol (LZS-DCP).
[RFC 1974] PPP Stac LZS Compression Protocol.
[RFC 1975] PPP Magnalink Variable Resource Compression.
[RFC 1976] PPP for Data Compression in Data Circuit-Terminating Equipment (DCE).
[RFC 1977] PPP BSD Compression Protocol.
[RFC 1979] PPP Deflate Protocol.
[RFC 1993] PPP Gandalf FZA Compression Protocol.
[RFC 2118] Microsoft Point-To-Point Compression (MPPC) Protocol.
[RFC 3078] Microsoft Point-To-Point Encryption (MPPE) Protocol.
Description | Glossary | RFCs | Publications | Obsolete RFCs |