ROUTER_INTERFACE_TYPE enumeration (mprapi.h)

The ROUTER_INTERFACE_TYPE type enumerates the different kinds of interfaces on a router.

Syntax

typedef enum _ROUTER_INTERFACE_TYPE {
  ROUTER_IF_TYPE_CLIENT,
  ROUTER_IF_TYPE_HOME_ROUTER,
  ROUTER_IF_TYPE_FULL_ROUTER,
  ROUTER_IF_TYPE_DEDICATED,
  ROUTER_IF_TYPE_INTERNAL,
  ROUTER_IF_TYPE_LOOPBACK,
  ROUTER_IF_TYPE_TUNNEL1,
  ROUTER_IF_TYPE_DIALOUT,
  ROUTER_IF_TYPE_MAX
} ROUTER_INTERFACE_TYPE;

Constants

 
ROUTER_IF_TYPE_CLIENT
The interface is for a remote client.
ROUTER_IF_TYPE_HOME_ROUTER
The interface is for a home router.
ROUTER_IF_TYPE_FULL_ROUTER
The interface is for a full router.
ROUTER_IF_TYPE_DEDICATED
The interface is always connected. It is a LAN interface, or the interface is connected over a leased line.
ROUTER_IF_TYPE_INTERNAL
The interface is an internal-only interface.
ROUTER_IF_TYPE_LOOPBACK
The interface is a loopback interface.
ROUTER_IF_TYPE_TUNNEL1
ROUTER_IF_TYPE_DIALOUT
The interface is a dial-on-demand (DOD) interface.
ROUTER_IF_TYPE_MAX

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

RAS_CONNECTION_2

Router Management Enumerated Types

Router Management Reference