-building IPv4 TCP reply messages for TUN
[oweals/gnunet.git] / src / vpn / vpn.h
index 90bcdaa614bd32623cdaa50f55cd30d647f5dd84..4a80e1812f1fd715264805db68d0ebb8ff4a95a8 100644 (file)
@@ -113,7 +113,7 @@ struct RedirectToServiceRequestMessage
   /**
    * Service descriptor identifying the service.
    */
-  struct GNUNET_PeerIdentity desc;
+  GNUNET_HashCode service_descriptor;
 
   /**
    * Unique ID to match a future response to this request.
@@ -132,7 +132,7 @@ struct RedirectToIpResponseMessage
 {
   
   /**
-   * Type is  GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_IP
+   * Type is  GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP
    */
   struct GNUNET_MessageHeader header;
 
@@ -142,6 +142,11 @@ struct RedirectToIpResponseMessage
    */
   int32_t result_af;
 
+  /**
+   * Unique ID to match the response to a request.
+   */
+  uint64_t request_id;
+
   /* followed by destination address ('struct in_addr' or 'struct in6_addr') */
   
 };