// 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 referenceNo description available.
The NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT function initializes a NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES structure.
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.
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.
EVT_NET_ADAPTER_OFFLOAD_SET_GSO
NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES
NetAdapterOffloadSetGsoCapabilities