NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT - NtDoc

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

void NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES *GsoCapabilities,
  [_In_]  NET_ADAPTER_OFFLOAD_LAYER3_FLAGS     Layer3Flags,
  [_In_]  NET_ADAPTER_OFFLOAD_LAYER4_FLAGS     Layer4Flags,
  [_In_]  SIZE_T                               MaximumOffloadSize,
  [_In_]  SIZE_T                               MinimumSegmentCount,
  [_In_]  PFN_NET_ADAPTER_OFFLOAD_SET_GSO      EvtAdapterOffloadSetGso
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapteroffload-net_adapter_offload_gso_capabilities_init)

NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT function

Description

The NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT function initializes a NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES structure.

Parameters

GsoCapabilities [_Out_]

A pointer to a driver-allocated NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES structure.

Layer3Flags [_In_]

Flags specifying the layer 3 protocols and variations contained in packets that the NIC can successfully segment.

Layer4Flags [_In_]

Flags specifying the layer 4 protocols and variations contained in packets that the NIC can successfully segment.

MaximumOffloadSize [_In_]

The maximum bytes of user data that the transport can pass to the NIC driver in a single packet.

MinimumSegmentCount [_In_]

The minimum number of segments by which a large TCP packet must be divisible before the transport can offload it to the hardware for segmentation.

EvtAdapterOffloadSetGso [_In_]

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

Remarks

The client driver calls NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT to initialize a NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES structure. The driver passes the initialized NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES structure as a parameter to the NetAdapterOffloadSetGsoCapabilities function to register it.

See also

Generic Segmentation Offload

EVT_NET_ADAPTER_OFFLOAD_SET_GSO

NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES

NetAdapterOffloadSetGsoCapabilities