2.2.1.2.139 L2TP_CONFIG_PARAMS_1
The L2TP_CONFIG_PARAMS_1 structure<125> is used to get or set the device configuration for L2TP on RAS Server.
-
typedef struct _L2TP_CONFIG_PARAMS_1 { DWORD dwNumPorts; DWORD dwPortFlags; } L2TP_CONFIG_PARAMS_1, *PL2TP_CONFIG_PARAMS_1;
dwNumPorts: Specifies the number of ports configured on the (L2TP) device. This value cannot exceed the server port limit.<126>
dwPortFlags: Specifies the type of port configured on L2TP devices. Possible flag values are as follows.
-
Value
Meaning
MPR_ENABLE_RAS_ON_DEVICE
0x00000001
L2TP is enabled to accept Remote Access client connection.
MPR_ENABLE_ROUTING_ON_DEVICE
0x00000002
L2TP is enabled to accept demand-dial connections.