estructura NET_ADAPTER_LINK_STATE (netadapter.h)

Describe el estado del vínculo del adaptador.

Sintaxis

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;

Miembros

Size

Tamaño de la estructura NET_ADAPTER_LINK_STATE , en bytes.

TxLinkSpeed

Velocidad de enlace de transmisión actual del adaptador en bits por segundo.

RxLinkSpeed

Velocidad del vínculo de recepción actual del adaptador en bits por segundo.

MediaConnectState

Estado de conexión multimedia para el adaptador de red.

MediaDuplexState

Estado dúplex multimedia para el adaptador de red.

SupportedPauseFunctions

Compatibilidad con los marcos de pausa IEEE 802.3 especificados por un valor de NET_ADAPTER_PAUSE_FUNCTION_TYPE .

AutoNegotiationFlags

La configuración de negociación automática para el adaptador de red. Para obtener más información, consulta NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES.

Comentarios

Llame a NET_ADAPTER_LINK_STATE_INIT o NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED para inicializar esta estructura.

Una estructura de NET_ADAPTER_LINK_STATE inicializada es un valor de parámetro de entrada en NetAdapterSetLinkState.

Requisitos

Requisito Value
Versión mínima de KMDF 1.21
Encabezado netadapter.h (include netadaptercx.h)

Consulte también

NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES

NET_ADAPTER_LINK_STATE_INIT

NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED

NetAdapterSetLinkState