Bewerken

Delen via


NetOffloadIsUsoIPv6Enabled function (netadapteroffload.h)

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

Syntax

BOOLEAN NetOffloadIsUsoIPv6Enabled(
  [_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 IPv6 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 IPv6 packets.

Requirements

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

See also

Generic Segmentation Offload

EVT_NET_ADAPTER_OFFLOAD_SET_GSO