ROUTER_CONNECTION_STATE enumeration (mprapi.h)

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

Syntax

typedef enum _ROUTER_CONNECTION_STATE {
  ROUTER_IF_STATE_UNREACHABLE,
  ROUTER_IF_STATE_DISCONNECTED,
  ROUTER_IF_STATE_CONNECTING,
  ROUTER_IF_STATE_CONNECTED
} ROUTER_CONNECTION_STATE;

Constants

 
ROUTER_IF_STATE_UNREACHABLE
The interface is unreachable. For a list of possible reasons, see
Unreachability 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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Header mprapi.h

See also

MPR_INTERFACE_0

MPR_INTERFACE_1

Router Management Enumerated Types

Router Management Reference

Unreachability Reasons