NetOffloadIsLsoIPv4Enabled function (netadapteroffload.h)
The NetOffloadIsLsoIPv4Enabled function determines whether a net adapter has large send offload (LSO) enabled for IPv4 packets.
Syntax
BOOLEAN NetOffloadIsLsoIPv4Enabled(
[_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 LSO 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 LSO for IPv4 packets.
Requirements
Requirement | Value |
---|---|
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