EVT_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM callback function (netadapteroffload.h)

The client driver implements the EvtNetAdapterOffloadSetRxChecksum callback function to query changes in active Rx checksum offload capabilities and update the hardware accordingly.

Syntax

EVT_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM EvtNetAdapterOffloadSetRxChecksum;

void EvtNetAdapterOffloadSetRxChecksum(
  [_In_] NETADAPTER Adapter,
  [_In_] NETOFFLOAD Offload
)
{...}

Parameters

[_In_] Adapter

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

[_In_] Offload

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

Return value

None

Remarks

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

For an example implementation of this callback, Checksum Offload.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Target Platform Universal
Minimum KMDF version 1.29
Minimum UMDF version 2.33
Header netadapteroffload.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL

See also

Checksum Offload

NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES

NetAdapterOffloadSetRxChecksumCapabilities