EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM callback function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The EvtNetAdapterOffloadSetChecksum callback function is implemented by the client driver to set changes in active checksum offload capabilities.

Syntax

EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM EvtNetAdapterOffloadSetChecksum;

void EvtNetAdapterOffloadSetChecksum(
  NETADAPTER Adapter,
  NETOFFLOAD Offload
)
{...}

Parameters

Adapter

A handle to a NETADAPTER object the client driver previously created with a call to NetAdapterCreate.

Offload

A handle to a NETOFFLOAD object that describes the adapter's offload capabilities.

Return Value

This callback function does not return a value.

Remarks

Register your implementation of this callback function by setting the appropriate parameter when calling NetAdapterOffloadSetChecksumCapabilities.

For an example implementation of this callback, see NetAdapterCx hardware offloads.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.27
Header netadapter.h
IRQL PASSIVE_LEVEL

See Also

NetAdapterCx hardware offloads

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES

NetAdapterOffloadSetChecksumCapabilities