2.2.1.2.62 MPR_SERVER_1
The MPR_SERVER_1 structure is used to get and set the number of Point-to-Point Tunneling Protocol/Layer Two Tunneling Protocol (PPTP/L2TP) ports configured on the RRAS server. It is also used to get and set the RRAS functionality and router functionality enabled on those ports.
-
typedef struct MPR_SERVER_1 { DWORD dwNumPptpPorts; DWORD dwPptpPortFlags; DWORD dwNumL2tpPorts; DWORD dwL2tpPortFlags; } MPR_SERVER_1, *PMPR_SERVER_1;
dwNumPptpPorts: Specifies the number of ports configured on that (PPTP) device. This value cannot exceed the server port limit.<39>
dwPptpPortFlags: Indicates the RRAS server and/or router functionality configured on the PPTP device. Possible flag values are as follows.
-
Value
Meaning
MPR_ENABLE_RAS_ON_DEVICE
0x00000001
Remote access is enabled for PPTP.
MPR_ENABLE_ROUTING_ON_DEVICE
0x00000002
Routing is enabled for PPTP.
dwNumL2tpPorts: Specifies the number of ports configured on that (L2TP) device. This value cannot exceed the server port limit.<40>
dwL2tpPortFlags: Indicates the RAS and/or router functionality configured on the L2TP device. Possible flag values are as follows.
-
Value
Meaning
MPR_ENABLE_RAS_ON_DEVICE
0x00000001
Remote access is enabled for L2TP.
MPR_ENABLE_ROUTING_ON_DEVICE
0x00000002
Routing is enabled for L2TP.