NET_IF_OPER_STATUS enumeration (ifdef.h)

The NET_IF_OPER_STATUS 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 = 2,
  NET_IF_OPER_STATUS_TESTING = 3,
  NET_IF_OPER_STATUS_UNKNOWN = 4,
  NET_IF_OPER_STATUS_DORMANT = 5,
  NET_IF_OPER_STATUS_NOT_PRESENT = 6,
  NET_IF_OPER_STATUS_LOWER_LAYER_DOWN = 7
} NET_IF_OPER_STATUS, *PNET_IF_OPER_STATUS;

Constants

 
NET_IF_OPER_STATUS_UP
Value: 1
Specifies that the interface is ready to transmit and receive all supported packet types.
NET_IF_OPER_STATUS_DOWN
Value: 2
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
Value: 3
Specifies that the interface is in a test mode and no operational packets can be transmitted or
received.
NET_IF_OPER_STATUS_UNKNOWN
Value: 4
Specifies that the operational status of the network interface cannot be determined.
NET_IF_OPER_STATUS_DORMANT
Value: 5
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
Value: 6
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
Value: 7
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

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Header ifdef.h (include Netioapi.h, Ntddndis.h)