IF_OPER_STATUS enumeration

The IF_OPER_STATUS enumeration type defines the current NDIS network interface operational status, as described in RFC 2863.

Syntax


typedef enum  { 
  IfOperStatusUp              = 1,
  IfOperStatusDown,
  IfOperStatusTesting,
  IfOperStatusUnknown,
  IfOperStatusDormant,
  IfOperStatusNotPresent,
  IfOperStatusLowerLayerDown
} IF_OPER_STATUS;

Constants

IfOperStatusUp

Specifies that the interface is ready to transmit and receive all supported packet types.

IfOperStatusDown

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.

IfOperStatusTesting

Specifies that the interface is in a test mode and no operational packets can be transmitted or received.

IfOperStatusUnknown

Specifies that the operational status of the network interface cannot be determined.

IfOperStatusDormant

Specifies that the network interface cannot send or receive packets because the interface is waiting for an external event.

IfOperStatusNotPresent

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.

IfOperStatusLowerLayerDown

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.

Remarks

For more information on RFC 2863, see "The Interfaces Group MIB".

Requirements

Version

Supported in NDIS 6.0 and later.

Header

Ifdef.h (include Netioapi.h or Ntddndis.h)

 

 

Send comments about this topic to Microsoft

Show: