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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for