<div class="content" name="TSG_PACKET_REAUTH" uuid="75c620b8-41cf-4ba0-8504-ee7199b78241"><p>The TSG_PACKET_REAUTH structure is sent by the client to the
TS Gateway server when the client is reauthenticating the connection. The value
of the <b>packetId</b> field in <a href="4c505da0-93c2-4a2f-9329-6174bbaa481b" data-linktype="relative-path">TSG_PACKET</a> MUST be set to <a href="85ae32ae-501e-426b-b216-00ec0256115d" data-linktype="relative-path">TSG_PACKET_TYPE_REAUTH</a>.</p><dl>
<dd>
<div><pre> typedef struct _TSG_PACKET_REAUTH {
   unsigned __int64 tunnelContext;
   unsigned long packetId;
   [switch_is(packetId)] TSG_INITIAL_PACKET_TYPE_UNION TSGInitialPacket;
 } TSG_PACKET_REAUTH,
  *PTSG_PACKET_REAUTH;
</pre></div>
</dd></dl><p><b>tunnelContext:</b>  An unsigned __int64
that identifies which tunnel is being reauthenticated.</p><p><b>packetId:</b>  An unsigned long that
specifies what type of packet is present inside TSGInitialPacket.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>TSG_PACKET_TYPE_VERSIONCAPS 0x00005643</td>
  <td>This packet is sent when Pluggable Authentication is off.</td>
 </tr><tr>
  <td>TSG_PACKET_TYPE_AUTH 0x00004054</td>
  <td>This packet is sent when Pluggable Authentication is on. This packet includes TSG_PACKET_VERSIONCAPS as well as the cookie that is required for authentication.</td>
 </tr></tbody></table>
</dd></dl><p><b>TSGInitialPacket:</b>  A <a href="91129d2e-bacb-48e2-9953-7071f764e3cf" data-linktype="relative-path">TSG_INITIAL_PACKET_TYPE_UNION</a>
union as specified in section 2.2.9.2.1.11.1.</p></div>