Bewerken

Delen via


NetOffloadIsTxChecksumUdpEnabled function (netadapteroffload.h)

The NetOffloadIsTxChecksumUdpEnabled function determines whether a net adapter has Tx UDP checksum offload enabled.

Syntax

BOOLEAN NetOffloadIsTxChecksumUdpEnabled(
  [_In_] NETOFFLOAD Offload
);

Parameters

[_In_] Offload

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

Return value

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