Bewerken

Delen via


Introduction to NDIS 6.86

This topic introduces Network Driver Interface Specification (NDIS) 6.86 and describes its major design additions. NDIS 6.86 is included in Windows 11, version 21H2 and Windows Server 2022 and later.

NDIS 6.86 is a minor version update to NDIS 6.85. For more information about porting NDIS 6.x drivers to NDIS 6.86, see Porting NDIS 6.x drivers to NDIS 6.86.

Feature updates

NDIS 6.86 is an incremental update to NDIS 6.85 and does not contain any major new features.

Implementing an NDIS 6.86 driver

An NDIS 6.86 driver must follow the requirements that are defined in Implementing an NDIS 6.30 driver.

In addition, an NDIS 6.86 driver must be compliant with the following requirements:

  • An NDIS 6.86 driver must report the correct NDIS version when it registers with NDIS.

    • You must update the major and minor NDIS version number in the NDIS_Xxx_DRIVER_CHARACTERISTICS structure to support NDIS 6.86. The MajorNdisVersion member must contain 6 and the MinorNdisVersion member must contain 86. This requirement applies to miniport, protocol, and filter drivers. You must also update the version information for the compiler (see Compiling an NDIS 6.86 driver).

    • Miniport drivers must set the Header member of NDIS_MINIPORT_DRIVER_CHARACTERISTICS: Set Revision to NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_3 and Size to NDIS_SIZEOF_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_3.

    • Filter drivers must set the Header member of NDIS_FILTER_DRIVER_CHARACTERISTICS: Set Revision to NDIS_FILTER_CHARACTERISTICS_REVISION_3 and Size to NDIS_SIZEOF_FILTER_DRIVER_CHARACTERISTICS_REVISION_3.

    • Protocol drivers must set the Header member of NDIS_PROTOCOL_DRIVER_CHARACTERISTICS: Set Revision to NDIS_PROTOCOL_CHARACTERISTICS_REVISION_2 and Size to NDIS_SIZEOF_PROTOCOL _DRIVER_CHARACTERISTICS_REVISION_2.

  • NDIS 6.86 miniport drivers for Windows 11, version 21H2 and Windows Server 2022 and later must use the NDIS 6.86 versions of data structures.

Compiling an NDIS 6.86 driver

The WDK for Windows Server 2022 supports header versioning. Header versioning makes sure that NDIS 6.86 drivers use the appropriate NDIS 6.86 data structures at compile time.

Add the following compiler settings to the Visual Studio project for your driver:

  • For a miniport driver, add NDIS686_MINIPORT=1.
  • For a filter or protocol driver, add NDIS686=1.

For information on building a driver with the Windows Server 2022 release of the WDK, see Building a Driver.