Share via


NDIS_WAN_COMPRESS_INFO (Windows Embedded CE 6.0)

1/6/2010

The NDIS_WAN_COMPRESS_INFO structure describes compression information for use in OID_WAN_GET_COMP_INFO.

Syntax

typedef struct _NDIS_WAN_COMPRESS_INFO { 
  UCHAR SessionKey[8]; 
  ULONG MSCompType; 
  UCHAR CompType; 
  USHORT CompLength; 
  union { 
    struct { 
        UCHAR CompOUI[3]; 
        UCHAR CompSubType; 
        UCHAR CompValues[32]; 
    } Proprietary; 
    struct { 
        UCHAR CompValues[32]; 
    } Public; 
  }; 
} NDIS_WAN_COMPRESS_INFO; 

Members

  • SessionKey
    Specifies a reserved variable used by the WAN protocol driver as an encryption key. NDIS drivers should ignore this variable.
  • MSCompType
    Specifies what type of compression/encryption capabilities the WAN protocol driver has and what is currently being used. This member also is reserved for use by the WAN protocol driver and should be ignored by NDIS drivers.
  • CompType
    Specifies the compression capabilities of the NIC or its driver. The following table shows the system-defined values for NIC compression capability.

    Value Description

    COMPTYPE_OUI

    Set if the CompOUI and CompSubType members are set.

    COMPTYPE_NT31RAS

    Only legacy drivers that support the original RAS compression scheme set this value.

    COMPTYPE_NONE

    Set if compression is unsupported.

  • CompLength
    Specifies the number of bytes in the CompValues member.
  • CompOUI
    Specifies a NIC vendor's IEEE-registered Organization Unique Identifier, which is the most significant three octets of an Ethernet Physical Address, assigned to the vendor by IEEE 802. This identifies the compression type as being proprietary to the vendor.
  • CompSubType
    Specifies a compression specific to the OUI and indicates a compression type for that OUI as described by IETF draft The PPP Compression Control Protocol (CCP).
  • CompValues
    Specifies additional data that is specific to the compression protocol.

Remarks

None.

Requirements

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Structures
OID_WAN_GET_COMP_INFO