// netadapter.h
EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM EvtNetAdapterOffloadSetChecksum;
void EvtNetAdapterOffloadSetChecksum(
[_In_] NETADAPTER Adapter,
[_In_] NETOFFLOAD Offload
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[!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.
Adapter [_In_]A handle to a NETADAPTER object the client driver previously created with a call to NetAdapterCreate.
Offload [_In_]A handle to a NETOFFLOAD object that describes the adapter's offload capabilities.
//Declaration
EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM EvtNetAdapterOffloadSetChecksum;
// Definition
VOID EvtNetAdapterOffloadSetChecksum
(
NETADAPTER Adapter,
NETOFFLOAD Offload
)
{...}
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.
NetAdapterCx hardware offloads
NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES
NetAdapterOffloadSetChecksumCapabilities