2.2.1.1.16 RASDEVICETYPE
The RASDEVICETYPE type enumeration defines the different device types on the RRAS server.
-
typedef enum _RASDEVICETYPE { RDT_Modem = 0, RDT_X25, RDT_Isdn, RDT_Serial, RDT_FrameRelay, RDT_Atm, RDT_Sonet, RDT_Sw56, RDT_Tunnel_Pptp, RDT_Tunnel_L2tp, RDT_Irda, RDT_Parallel, RDT_Other, RDT_PPPoE, RDT_Tunnel_Sstp, RDT_Tunnel_Ikev2, RDT_Tunnel = 0x00010000, RDT_Direct = 0x00020000, RDT_Null_Modem = 0x00040000, RDT_Broadband = 0x00080000 } RASDEVICETYPE;
RDT_Modem: Modem device
RDT_X25: X.25 device
RDT_Isdn: ISDN device
RDT_Serial: Serial port device
RDT_FrameRelay: Frame relay device
RDT_Atm: Asynchronous transfer mode (ATM) device
RDT_Sonet: Sonet device
RDT_Sw56: Switched 56K access device
RDT_Tunnel_Pptp: PPTP device
RDT_Tunnel_L2tp: L2TP device
RDT_Irda: Infrared Data Association (IrDA) device.
RDT_Parallel: Parallel port device.
RDT_Other: Any other device.
RDT_PPPoE: PPPoE device.<10>
RDT_Tunnel_Sstp: SSTP device.<11>
RDT_Tunnel_Ikev2: IKEv2 device.<12>
RDT_Tunnel: Specifies the tunnel device class like PPTP, L2TP, SSTP, IKEv2.
RDT_Direct: Specifies the direct device class like Serial, Parallel.
RDT_Null_Modem: Specifies modem device class like Modem, Isdn, Irda.
RDT_Broadband: Specifies broadband device class like PPPoE.<13>
-
The final four values (RDT_Tunnel, RDT_Direct, RDT_Null_Modem, RDT_Broadband) are used to specify the class of the device.