<div class="content"><p>The <b>L2TP_TUNNEL_CONFIG_PARAMS_1</b> structure<a id="Appendix_A_Target_199"></a><a aria-label="Product behavior note 199" href="3bb906f0-b077-47ab-ad11-d8d807afde26#Appendix_A_199" data-linktype="relative-path">&lt;199&gt;</a> is used to get or set
configured parameters for L2TP devices.</p><dl>
<dd>
<div><pre> typedef struct _L2TP_TUNNEL_CONFIG_PARAMS_1 {
     DWORD                       dwIdleTimeout;
     // encryption type to be used for L2TP
     DWORD                       dwEncryptionType;
     DWORD                       dwSaLifeTime;
     DWORD                       dwSaDataSizeForRenegotiation;
            
     PROUTER_CUSTOM_L2TP_POLICY_0 customPolicy;
 }L2TP_TUNNEL_CONFIG_PARAMS_1, 
 *PL2TP_TUNNEL_CONFIG_PARAMS_1;
            
</pre></div>
</dd></dl><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwIdleTimeout</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwEncryptionType</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwSaLifeTime</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwSaDataSizeForRenegotiation</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>customPolicy</p>
  </td>
 </tr>
</tbody></table><p><b>dwIdleTimeout (4 bytes): </b>Duration, in seconds,
after which the connection will be disconnected if there is no traffic. This
value MUST be between 300 and 17,279,999.</p><p><b>dwEncryptionType (4 bytes</b>): Specifies the
encryption type to be negotiated for the L2TP tunnel-based VPN connections. One
of the following values is used.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0</p>
  </td>
  <td>
  <p>RRAS will not negotiate encryption.</p>
  </td>
 </tr><tr>
  <td>
  <p>1</p>
  </td>
  <td>
  <p>RRAS requests encryption during negotiation.
  Negotiation will succeed even if remote RRAS does not support encryption.</p>
  </td>
 </tr><tr>
  <td>
  <p>2</p>
  </td>
  <td>
  <p>RRAS requires encryption to be negotiated.</p>
  </td>
 </tr><tr>
  <td>
  <p>3</p>
  </td>
  <td>
  <p>RRAS requires maximum-strength encryption to be
  negotiated.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>dwSaLifeTime (4 bytes): </b>The lifetime of a <a href="fc2dfae9-0d04-4e1d-97c9-c51c2dc06c3b#gt_67cbf867-7a49-41f3-a68f-37b5f9035acb" data-linktype="relative-path">security association (SA)</a>,
in seconds, after which the SA is no longer valid <a href="https://go.microsoft.com/fwlink/?LinkId=90469" data-linktype="external">[RFC4306]</a>. This value
MUST be between 300 and 17,279,999.</p><p><b>dwSaDataSizeForRenegotiation (4 bytes): </b>Number
of kilobytes that are allowed to transfer using a SA. After that, the SA is
renegotiated [RFC4306]. This value MUST be greater than or equal to 1024.</p><p><b>customPolicy (8 bytes): </b>This MUST be a pointer
to <a href="10f3a637-ab9c-49fe-b819-a5337ad54098" data-linktype="relative-path"><b>ROUTER_CUSTOM_IKEv2_POLICY_0
(section</b></a><span><b> </b></span>2.2.1.2.237) that
specifies the custom IPSec configurations to be used during the SA negotiation
[RFC4306]. The NULL value for this member indicates that no custom IPsec
configuration is available.  </p></div>