2.2.1.2.244 MPR_IF_CUSTOMINFOEX_0

The MPR_IF_CUSTOMINFOEX_0 structure<173> contains the IKEv2 policy configuration of a demand-dial interface (see section 1.3).

 typedef struct _MPR_IF_CUSTOMINFOEX_0 {
   MPRAPI_OBJECT_HEADER_IDL Header;
   DWORD dwFlags;
   ROUTER_IKEv2_IF_CUSTOM_CONFIG_0 customIkev2Config;
 } MPR_IF_CUSTOMINFOEX_0,
  *PMPR_IF_CUSTOMINFOEX_0;

Header: This MUST be an MPRAPI_OBJECT_HEADER_IDL (section 2.2.1.2.129). The revision field MUST be 0x01, and the type field MUST be 0x06. 

dwFlags: This MUST be one of the following values that specify the type of tunnel.

Value

Meaning

0x00000000

No custom configuration is available.

MPRAPI_IF_CUSTOM_CONFIG_FOR_IKEV2

0x00000001

IKEv2 tunnel-specific configuration is available.

customIkev2Config: Specifies the IKEv2 tunnel configuration parameters. This MUST be a pointer to ROUTER_IKEv2_IF_CUSTOM_CONFIG_0. The value of this member is valid only if the dwFlag member is set to MPRAPI_IF_CUSTOM_CONFIG_FOR_IKEV2.