separate update and full results
[oweals/gnunet.git] / src / ats / ats.h
index 4f8ab1b81d6ec8843f4230e5ab60aff7027a7e4b..48c8a35d542b0833302bd722352fa9257f0466c4 100644 (file)
@@ -79,12 +79,15 @@ struct AddressUpdateMessage
 
   struct GNUNET_PeerIdentity peer;
 
+
   uint16_t address_length GNUNET_PACKED;
 
   uint16_t plugin_name_length GNUNET_PACKED;
 
   uint32_t session_id GNUNET_PACKED;
 
+  uint32_t address_local_info GNUNET_PACKED;
+
   /* followed by:
    * - struct GNUNET_ATS_Information [ats_count];
    * - char address[address_length]
@@ -107,6 +110,8 @@ struct AddressUseMessage
 
   uint32_t session_id GNUNET_PACKED;
 
+  uint32_t address_local_info GNUNET_PACKED;
+
   /* followed by:
    * - char address[address_length]
    * - char plugin_name[plugin_name_length] (including '\0'-termination).
@@ -129,6 +134,8 @@ struct AddressDestroyedMessage
 
   uint32_t session_id GNUNET_PACKED;
 
+  uint32_t address_local_info GNUNET_PACKED;
+
   /* followed by:
    * - char address[address_length]
    * - char plugin_name[plugin_name_length] (including '\0'-termination).
@@ -151,6 +158,8 @@ struct AddressSuggestionMessage
 
   uint32_t session_id GNUNET_PACKED;
 
+  uint32_t address_local_info GNUNET_PACKED;
+
   struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out;
 
   struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in;