From d1ddc64bbf47a243268eef655dadfeafba6d928b Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 30 Nov 2010 10:25:17 +0000 Subject: [PATCH] added ATS information to InboundMessage --- src/transport/transport.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/transport/transport.h b/src/transport/transport.h index 237f31581..747986439 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h @@ -189,6 +189,12 @@ struct InboundMessage */ uint32_t reserved GNUNET_PACKED; + /** + * Number of ATS key-value pairs that follow this struct + * (excluding the 0-terminator). + */ + uint32_t ats_count GNUNET_PACKED; + /** * Latency estimate. */ @@ -204,6 +210,11 @@ struct InboundMessage */ uint32_t distance; + /** + * First of the ATS information blocks (we must have at least + * one due to the 0-termination requirement). + */ + struct GNUNET_TRANSPORT_ATS_Information ats; }; -- 2.25.1