NetAdapterOffloadSetChecksumCapabilities - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netadapter.h

void NetAdapterOffloadSetChecksumCapabilities(
  [_In_] NETADAPTER                                Adapter,
  [_In_] NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES *HardwareCapabilities
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapter-netadapteroffloadsetchecksumcapabilities)

NetAdapterOffloadSetChecksumCapabilities function

Description

[!NOTE] The NetAdapterOffloadSetChecksumCapabilities function is deprecated in NetAdapterCx 2.1 and later. For more information on current checksum offload functions, see Checksum offload.

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

Parameters

Adapter [_In_]

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

HardwareCapabilities [_In_]

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

Remarks

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

See also

NetAdapterCx hardware offloads

NetAdapterCreate

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT

EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM

NetAdapterStart