Bagikan melalui


NET_IF_OPER_STATUS (Compact 2013)

3/26/2014

This enumeration type defines the current NDIS network interface operational status.

Syntax

typedef enum _NET_IF_OPER_STATUS {
  NET_IF_OPER_STATUS_UP = 1,
  NET_IF_OPER_STATUS_DOWN,
  NET_IF_OPER_STATUS_TESTING,
  NET_IF_OPER_STATUS_UNKNOWN,
  NET_IF_OPER_STATUS_DORMANT,
  NET_IF_OPER_STATUS_NOT_PRESENT,
  NET_IF_OPER_STATUS_LOWER_LAYER_DOWN
} NET_IF_OPER_STATUS, *PNET_IF_OPER_STATUS;

Values

  • NET_IF_OPER_STATUS_UP
    Specifies that the interface is ready to transmit and receive all supported packet types.
  • NET_IF_OPER_STATUS_DOWN
    Specifies that the interface is not ready to transmit or receive data. For example, the media is disconnected or the port is not authenticated. In this state, it might be possible to transmit or receive some information. For example, if the interface is down because it has not been authenticated, 802.1x authentication packets can be transmitted and received.
  • NET_IF_OPER_STATUS_TESTING
    Specifies that the interface is in a test mode and no operational packets can be transmitted or received.
  • NET_IF_OPER_STATUS_UNKNOWN
    Specifies that the operational status of the network interface cannot be determined.
  • NET_IF_OPER_STATUS_DORMANT
    Specifies that the network interface cannot send or receive packets because the interface is waiting for an external event.
  • NET_IF_OPER_STATUS_NOT_PRESENT
    Specifies that the network interface is not ready to transmit or receive data because a component is missing in the managed system. This state is more specific than, but similar to, the NET_IF_OPER_STATUS_DOWN state.
  • NET_IF_OPER_STATUS_LOWER_LAYER_DOWN
    Specifies that the network interface is not ready to transmit or receive data because underlying interfaces are down. This state is more specific than, but similar to, the NET_IF_OPER_STATUS_DOWN state.

Requirements

Header

ifdef.h

See Also

Reference

NDIS Network Interface Enumerations