Bewerken

Delen via


NetOffloadIsRxChecksumIPv4Enabled function (netadapteroffload.h)

The NetOffloadIsRxChecksumIPv4Enabled function determines whether a net adapter has Rx IPv4 checksum offload enabled.

Syntax

BOOLEAN NetOffloadIsRxChecksumIPv4Enabled(
  [_In_] NETOFFLOAD Offload
);

Parameters

[_In_] Offload

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

Return value

Returns TRUE if Rx IPv4 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 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_RX_CHECKSUM