NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure (netadapter.h)
Note
The NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES function is deprecated in NetAdapterCx 2.1 and later. For more information on current checksum offload functions, see Checksum offload.
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
Requirement | Value |
---|---|
Minimum KMDF version | 1.29 |
Minimum UMDF version | 2.33 |
Header | netadapter.h (include netadaptercx.h) |
See also
NetAdapterCx hardware offloads