struttura NET_ADAPTER_LINK_STATE (netadapter.h)

Descrive lo stato del collegamento dell'adattatore.

Syntax

typedef struct _NET_ADAPTER_LINK_STATE {
  ULONG                              Size;
  ULONG64                            TxLinkSpeed;
  ULONG64                            RxLinkSpeed;
  NET_IF_MEDIA_CONNECT_STATE         MediaConnectState;
  NET_IF_MEDIA_DUPLEX_STATE          MediaDuplexState;
  NET_ADAPTER_PAUSE_FUNCTION_TYPE    SupportedPauseFunctions;
  NET_ADAPTER_AUTO_NEGOTIATION_FLAGS AutoNegotiationFlags;
} NET_ADAPTER_LINK_STATE;

Members

Size

The size of the NET_ADAPTER_LINK_STATE structure, in bytes.

TxLinkSpeed

Velocità del collegamento di trasmissione corrente dell'adattatore in bit al secondo.

RxLinkSpeed

Velocità del collegamento di ricezione corrente dell'adattatore in bit al secondo.

MediaConnectState

Stato di connessione multimediale per la scheda di rete.

MediaDuplexState

Stato duplex del supporto per la scheda di rete.

SupportedPauseFunctions

Support for the IEEE 802.3 pause frames specified by a NET_ADAPTER_PAUSE_FUNCTION_TYPE value.

AutoNegotiationFlags

Impostazioni di negoziazione automatica per la scheda di rete. For more info, see NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES.

Remarks

Call NET_ADAPTER_LINK_STATE_INIT or NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED to initialize this structure.

An initialized NET_ADAPTER_LINK_STATE structure is an input parameter value to NetAdapterSetLinkState.

Requirements

Requirement Value
versione minima di KMDF 1.21
versione minima di UMDF 2.33
Header netadapter.h (include netadaptercx.h)

See also

NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES

NET_ADAPTER_LINK_STATE_INIT

NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED

NetAdapterSetLinkState