Bewerken

Delen via


NetOffloadIsTxChecksumTcpEnabled function (netadapteroffload.h)

The NetOffloadIsTxChecksumTcpEnabled function determines whether a net adapter has Tx TCP checksum offload enabled.

Syntax

BOOLEAN NetOffloadIsTxChecksumTcpEnabled(
  [_In_] NETOFFLOAD Offload
);

Parameters

[_In_] Offload

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

Return value

Returns TRUE if Tx TCP 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 TCP 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