Reporting, Enabling, and Disabling a NIC's Ability to Parse UDP-ESP Packets (NDIS 5.1)
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.When responding to an OID_TCP_TASK_OFFLOADrequest, a miniport driver specifies its NIC's Internet Protocol security (IPsec) capabilities in an NDIS_TASK_IPSECstructure. For more information, see Reporting a NIC's IPsec Capabilities.
The miniport reports the NIC's ability to parse incoming UDP-encapsulated ESP packets by setting one or more flags in the Supported. Reservedmember of the NDIS_TASK_IPSEC structure. The miniport driver can specify any or all of the four UDP-ESP encapsulation subtypes that are described in UDP-ESP Encapsulation Types.
As described in Enabling Task-Offload Capabilities, the TCP/IP transport enables the NIC's task-offload capabilities, including the NIC's UDP-ESP parsing capabilities. The transport can also disable these capabilities, as described in Disabling Task-Offload Capabilities.