NetOffloadIsRxChecksumUdpEnabled function (netadapteroffload.h)

The NetOffloadIsRxChecksumUdpEnabled function determines whether a net adapter has Rx UDP checksum offload enabled.

Syntax

BOOLEAN NetOffloadIsRxChecksumUdpEnabled(
  [_In_] NETOFFLOAD Offload
);

Parameters

[_In_] Offload

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

Return value

Returns TRUE if Rx UDP checksum offload is enabled. Otherwise, returns FALSE.

Remarks

Client drivers typically call this function during their EvtNetAdapterOffloadSetRxChecksum callback to test whether an updated set of active Rx checksum capabilities includes Rx 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_RX_CHECKSUM