NetAdapterOffloadSetRxChecksumCapabilities function (netadapter.h)

The NetAdapterOffloadSetRxChecksumCapabilities function sets the hardware Rx checksum offload capabilities of a network adapter.

Syntax

void NetAdapterOffloadSetRxChecksumCapabilities(
  [_In_] NETADAPTER                                         Adapter,
  [_In_] const NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES *Capabilities
);

Parameters

[_In_] Adapter

A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.

[_In_] Capabilities

A pointer to a driver-allocated and initialized NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES structure that describes the hardware's Rx checksum offload capabilities.

Return value

None

Remarks

Client drivers typically call this function from within their EvtDevicePrepareHardware callback, but must call this function before calling NetAdapterStart.

Requirements

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

See also

Checksum Offload

NetAdapterCreate

NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES

NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT

EVT_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM

NetAdapterStart