NetAdapterOffloadSetChecksumCapabilities function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NetAdapterOffloadSetChecksumCapabilities method sets the hardware checksum offload capabilities of a network adapter.

Syntax

void NetAdapterOffloadSetChecksumCapabilities(
  NETADAPTER                                Adapter,
  NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES *HardwareCapabilities
);

Parameters

Adapter

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

HardwareCapabilities

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

Return Value

This method does not return a value.

Remarks

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

Requirements

   
Target Platform Universal
Minimum KMDF version 1.29
Header netadapter.h
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See Also

NetAdapterCx hardware offloads

NetAdapterCreate

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT

EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM

NetAdapterStart