Bewerken

Delen via


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
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