EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM callback function (netadapteroffload.h)
The client driver implements the EvtNetAdapterOffloadSetTxChecksum callback function to query changes in active Tx checksum offload capabilities and update the hardware settings accordingly.
Syntax
EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM EvtNetAdapterOffloadSetTxChecksum;
void EvtNetAdapterOffloadSetTxChecksum(
[_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 NetAdapterOffloadSetTxChecksumCapabilities.
For an example implementation of this callback, see 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 |