NetOffloadIsTxChecksumIPv4Enabled function (netadapteroffload.h)

The NetOffloadIsTxChecksumIPv4Enabled function determines whether a net adapter has Tx IPv4 checksum offload enabled.

Syntax

BOOLEAN NetOffloadIsTxChecksumIPv4Enabled(
  [_In_] NETOFFLOAD Offload
);

Parameters

[_In_] Offload

A NETOFFLOAD object that represents the net adapter's Tx checksum capabilities.

Return value

Returns TRUE if Tx IPv4 checksum offload is enabled. Otherwise, returns FALSE.

Remarks

Client drivers typically call this function during their EvtNetAdapterOffloadSetTxChecksum callback to test whether an updated set of active Tx checksum capabilities includes Tx IPv4 checksum offload.

Requirements

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

See also

Checksum Offload

EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM