EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM callback function (netadapter.h)

Note

The EvtNetAdapterOffloadSetChecksum callback function is deprecated in NetAdapterCx 2.1 and later. For more information on current checksum offload functions, see Checksum offload.

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(
  [_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 NetAdapterOffloadSetChecksumCapabilities.

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

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.27
Header netadapter.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL

See also

NetAdapterCx hardware offloads

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES

NetAdapterOffloadSetChecksumCapabilities