NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT function (netadapter.h)

The NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT function initializes a NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES structure.

Syntax

void NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES *Capabilities,
  [_In_]  PFN_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM      EvtAdapterOffloadSetRxChecksum
);

Parameters

[_Out_] Capabilities

A pointer to a driver-allocated NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES structure.

[_In_] EvtAdapterOffloadSetRxChecksum

A pointer to the client driver's implementation of the EVT_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM callback function.

Return value

None

Remarks

The client driver calls NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES_INIT to initialize a NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES structure. The driver passes the initialized NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES structure as a parameter to the NetAdapterOffloadSetRxChecksumCapabilities function to register it.

Requirements

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

See also

Checksum Offload

EVT_NET_ADAPTER_OFFLOAD_SET_RX_CHECKSUM

NET_ADAPTER_OFFLOAD_RX_CHECKSUM_CAPABILITIES

NetAdapterOffloadSetRxChecksumCapabilities