NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT function

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

MaxMulticastListSize

SupportedStatistics

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

None

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