NetOffloadIsUsoIPv4Enabled function (netadapteroffload.h)

The NetOffloadIsUsoIPv4Enabled function determines whether a net adapter has UDP send offload (USO) enabled for IPv4 packets.

Syntax

BOOLEAN NetOffloadIsUsoIPv4Enabled(
  [_In_] NETOFFLOAD Offload
);

Parameters

[_In_] Offload

A NETOFFLOAD object that represents the net adapter's generic send offload (GSO) capabilities.

Return value

Returns TRUE if USO is enabled for IPv4 packets, or FALSE if it is not.

Remarks

Client drivers typically call this function during their EVT_NET_ADAPTER_OFFLOAD_SET_GSO callback to test whether an updated set of active GSO capabilities includes USO for IPv4 packets.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Minimum KMDF version 1.29
Header netadapteroffload.h (include netadaptercx.h)
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See also

Generic Segmentation Offload

EVT_NET_ADAPTER_OFFLOAD_SET_GSO