ROUTER_CONNECTION_STATE

The ROUTER_CONNECTION_STATE type enumerates the possible states of an interface on a Windows 2000 router.

typdef enum _ROUTER_CONNECTION_STATE {
  ROUTER_IF_STATE_UNREACHABLE,
  ROUTER_IF_STATE_DISCONNECTED,
  ROUTER_IF_STATE_CONNECTING,
  ROUTER_IF_STATE_CONNECTED
}ROUTER_CONNECTION_STATE

Values

ROUTER_IF_STATE_UNREACHABLE
The interface is unreachable. See Unreachability Reasons for a list of possible reasons.
ROUTER_IF_STATE_DISCONNECTED
The interface is reachable, but disconnected.
ROUTER_IF_STATE_CONNECTING
The interface is in the process of connecting.
ROUTER_IF_STATE_CONNECTED
The interface is connected.

Remarks

These states are sometimes referred to as "operational states."

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Mprapi.h.

See Also

Router Management Reference, Router Management Enumerated Types, MPR_INTERFACE_0, MPR_INTERFACE_1, Unreachability Reasons