NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure

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 NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure describes a network interface card (NIC)'s capabilities for offloading checksum calculation and validation.

Syntax

typedef struct _NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES {
  ULONG                                Size;
  BOOLEAN                              IPv4;
  BOOLEAN                              Tcp;
  BOOLEAN                              Udp;
  PFN_NET_ADAPTER_OFFLOAD_SET_CHECKSUM EvtAdapterOffloadSetChecksum;
} NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES;

Members

Size

The size of this structure, in bytes.

IPv4

A flag specifying whether the NIC can calculate and validate IPv4 checksum.

Tcp

A flag specifying whether the NIC can calculate and validate TCP checksum.

Udp

A flag specifying whether the NIC can calculate and validate UDP checksum.

EvtAdapterOffloadSetChecksum

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

Remarks

Call NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT to initialize this structure. An initialized NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure is passed as a parameter to NetAdapterOffloadSetChecksumCapabilities.

Requirements

   
Minimum KMDF version 1.29
Header netadapter.h

See Also

NetAdapterCx hardware offloads

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT

NetAdapterOffloadSetChecksumCapabilities