2.2.1.2.137 IKEV2_CONFIG_PARAMS_1

The IKEV2_CONFIG_PARAMS_1 structure<121> is used to get or set configured parameters for IKEv2 devices.

 typedef struct _IKEV2_CONFIG_PARAMS_1 {
   DWORD dwNumPorts;
   DWORD dwPortFlags;
   DWORD dwTunnelConfigParamFlags;
   IKEV2_TUNNEL_CONFIG_PARAMS_1 TunnelConfigParams;
 } IKEV2_CONFIG_PARAMS_1,
  *PIKEV2_CONFIG_PARAMS_1;

dwNumPorts: Specifies the number of ports configured on RRAS to accept IKEv2 connections. This value cannot exceed the server port limit.<122>

dwPortFlags: Specifies the type of port configured on IKEv2 devices. Possible flag values are as follows.

Value

Meaning

MPR_ENABLE_RAS_ON_DEVICE

0x00000001

Remote Access is enabled for IKEv2.

dwTunnelConfigParamFlags: SHOULD be set to 0x00000001 when sent and SHOULD be ignored on receipt.

TunnelConfigParams: IKEv2 tunnel related parameters. MUST be an IKEV2_TUNNEL_CONFIG_PARAMS_1 structure.