2.2.1.1.2 ROUTER_CONNECTION_STATE

The ROUTER_CONNECTION_STATE type enumerates the possible states of an interface on the RRAS server.

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

ROUTER_IF_STATE_UNREACHABLE: The interface is unreachable.

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.