NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT method initializes a NET_ADAPTER_LINK_LAYER_CAPABILITIES structure.

Syntax

void NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT(
  NET_ADAPTER_LINK_LAYER_CAPABILITIES *LinkLayerCapabilities,
  NET_PACKET_FILTER_TYPES_FLAGS       SupportedPacketFilters,
  ULONG                               MaxMulticastListSize,
  NET_ADAPTER_STATISTICS_FLAGS        SupportedStatistics,
  ULONG64                             MaxTxLinkSpeed,
  ULONG64                             MaxRxLinkSpeed
);

Parameters

LinkLayerCapabilities

A pointer to the driver-allocated NET_ADAPTER_LINK_LAYER_CAPABILITIES structure that describes the link layer capabilities of the adapter.

SupportedPacketFilters

An enumeration value of NET_PACKET_FILTER_TYPES_FLAGS that specifies packet filters that the adapter supports.

MaxMulticastListSize

The multicast address list size for the adapter.

SupportedStatistics

A bitwise OR of NET_ADAPTER_STATISTICS_FLAGS-typed flags specifying statistics the adapter supports.

MaxTxLinkSpeed

The maximum transmit link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.

MaxRxLinkSpeed

The maximum receive link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.

Return Value

This method does not return a value.

Remarks

NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT zeroes out the NET_ADAPTER_LINK_LAYER_CAPABILITIES structure and then sets all of its members.

Requirements

   
Minimum supported client Windows 10, version 1709
Minimum supported server Windows Server 2016
Minimum KMDF version 1.23
Header netadapter.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL