Bewerken

Delen via


NET_ADAPTER_AUTO_NEGOTIATION_FLAGS enumeration (netadapter.h)

Specifies the auto-negotiation settings for the NIC driver.

Syntax

typedef enum _NET_ADAPTER_AUTO_NEGOTIATION_FLAGS {
  NetAdapterAutoNegotiationFlagNone = 0x00000000,
  NetAdapterAutoNegotiationFlagXmitLinkSpeedAutoNegotiated = 0x00000001,
  NetAdapterAutoNegotiationFlagRcvLinkSpeedautoNegotiated = 0x00000002,
  NetAdapterAutoNegotiationFlagDuplexAutoNegotiated = 0x00000004,
  NetAdapterAutoNegotiationFlagPauseFunctionsAutoNegotiated = 0x00000008
} NET_ADAPTER_AUTO_NEGOTIATION_FLAGS;

Constants

 
NetAdapterAutoNegotiationFlagNone
Value: 0x00000000
No flags are set.
NetAdapterAutoNegotiationFlagXmitLinkSpeedAutoNegotiated
Value: 0x00000001
The adapter has auto-negotiated the transmit link speed with the link partner.
NetAdapterAutoNegotiationFlagRcvLinkSpeedautoNegotiated
Value: 0x00000002
The adapter has auto-negotiated the receive link speed with the link partner.
NetAdapterAutoNegotiationFlagDuplexAutoNegotiated
Value: 0x00000004
The adapter has auto-negotiated the duplex state with the link partner.
NetAdapterAutoNegotiationFlagPauseFunctionsAutoNegotiated
Value: 0x00000008
The adapter has auto-negotiated the pause functions with the link partner.

Remarks

The NET_ADAPTER_AUTO_NEGOTIATION_FLAGS enumeration is used to specify auto-negotiation settings in the NET_ADAPTER_LINK_STATE structure.

An initialized NET_ADAPTER_LINK_STATE structure is an input to NetAdapterSetLinkState.

Requirements

Requirement Value
Minimum KMDF version 1.21
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)