L2TP_CONFIG_PARAMS0 structure (mprapi.h)
The L2TP_CONFIG_PARAMS structure is used to get and set the device configuration for Layer 2 Tunneling Protocol (L2TP) on a RAS Server.
Syntax
typedef struct _L2TP_CONFIG_PARAMS0 {
DWORD dwNumPorts;
DWORD dwPortFlags;
} L2TP_CONFIG_PARAMS0, *PL2TP_CONFIG_PARAMS0;
Members
dwNumPorts
A value that specifies the number of ports configured on the RRAS server to accept L2TP connections. The maximum values for dwNumPorts are listed in the following table. The value zero is not allowed.
Value | Meaning |
---|---|
|
Windows Web Server 2008 |
|
Windows Server 2008 Standard |
|
Windows Server 2008 Datacenter and Windows Server 2008 Enterprise |
Note If dwNumPorts contains a value beyond the limit configured in the registry at service start time (the default is 1000 for Windows Server 2008 Standard and Windows Server 2008 Enterprise), the MprConfigServerGetInfoEx and MprConfigServerSetInfoEx functions will return ERROR_SUCCESS_REBOOT_REQUIRED.
dwPortFlags
A value that specifies the type of ports configured on the RRAS server for L2TP. The following values are supported:
Value | Meaning |
---|---|
|
If set, RAS is enabled on the device. |
|
If set, routing is enabled on the device. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | mprapi.h |