NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT - NtDoc

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

void NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES *ChecksumCapabilities,
  [_In_]  BOOLEAN                                   IPv4,
  [_In_]  BOOLEAN                                   Tcp,
  [_In_]  BOOLEAN                                   Udp,
  [_In_]  PFN_NET_ADAPTER_OFFLOAD_SET_CHECKSUM      EvtAdapterOffloadSetChecksum
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT function

Description

[!NOTE] The NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT 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_INIT function initializes a NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure.

Parameters

ChecksumCapabilities [_Out_]

A pointer to a driver-allocated NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure.

IPv4 [_In_]

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

Tcp [_In_]

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

Udp [_In_]

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

EvtAdapterOffloadSetChecksum [_In_]

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

Remarks

The NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure initialized by this function is passed as a parameter to the NetAdapterOffloadSetChecksumCapabilities function.

See also

NetAdapterCx hardware offloads

NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES