Edit

Share via


PPP_CCP_INFO structure (mprapi.h)

The PPP_CCP_INFO structure contains information that describes the results of a Compression Control Protocol (CCP) negotiation.

Syntax

typedef struct _PPP_CCP_INFO {
  DWORD dwError;
  DWORD dwCompressionAlgorithm;
  DWORD dwOptions;
  DWORD dwRemoteCompressionAlgorithm;
  DWORD dwRemoteOptions;
} PPP_CCP_INFO;

Members

dwError

Specifies an error if the negotiation is unsuccessful.

dwCompressionAlgorithm

Specifies the compression algorithm used by the local computer. The following table shows the possible values for this member.

Value Meaning
RASCCPCA_MPPC
Microsoft Point-to-Point Compression (MPPC) Protocol
RASCCPCA_STAC
STAC option 4

dwOptions

Specifies the compression options on the local computer. The following options are supported.

Option Meaning
PPP_CCP_COMPRESSION
Compression without encryption.
PPP_CCP_HISTORYLESS
Microsoft Point-to-Point Encryption (MPPE) in stateless mode. The session key is changed after every packet. This mode improves performance on high latency networks, or networks that experience significant packet loss.
PPP_CCP_ENCRYPTION40BITOLD
MPPE using 40-bit keys.
PPP_CCP_ENCRYPTION40BIT
MPPE using 40-bit keys.
PPP_CCP_ENCRYPTION56BIT
MPPE using 56-bit keys.
PPP_CCP_ENCRYPTION128BIT
MPPE using 128-bit keys.

dwRemoteCompressionAlgorithm

Specifies the compression algorithm used by the remote computer. The following table shows the possible values for this member.

Value Meaning
RASCCPCA_MPPC
Microsoft Point-to-Point Compression (MPPC) Protocol
RASCCPCA_STAC
STAC option 4

dwRemoteOptions

Specifies the compression options on the remote computer. The following options are supported.

Option Meaning
PPP_CCP_COMPRESSION
Compression without encryption.
PPP_CCP_HISTORYLESS
Microsoft Point-to-Point Encryption (MPPE) in stateless mode. The session key is changed after every packet. This mode improves performance on high latency networks, or networks that experience significant packet loss.
PPP_CCP_ENCRYPTION40BITOLD
MPPE using 40-bit keys.
PPP_CCP_ENCRYPTION40BIT
MPPE using 40-bit keys.
PPP_CCP_ENCRYPTION56BIT
MPPE using 56-bit keys.
PPP_CCP_ENCRYPTION128BIT
MPPE using 128-bit keys.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header mprapi.h

See also

PPP_LCP_INFO