From fbc5f3876a2ed52f18e2a2810e3cdda497cc99ea Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 22 Nov 2018 22:46:43 +0100 Subject: add design sketch for new ATS API --- src/transport/transport.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/transport/transport.h') diff --git a/src/transport/transport.h b/src/transport/transport.h index e8c276342..515c178f4 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h @@ -661,6 +661,11 @@ struct GNUNET_TRANSPORT_CommunicatorAvailableMessage */ struct GNUNET_MessageHeader header; + /** + * NBO encoding of `enum GNUNET_TRANSPORT_CommunicatorCharacteristics` + */ + uint32_t cc; + /* Followed by the address prefix of the communicator */ }; @@ -810,6 +815,11 @@ struct GNUNET_TRANSPORT_AddQueueMessage */ uint32_t cs; + /** + * Hops to the target (DV-only), in NBO. + */ + uint32_t distance; + /* followed by UTF-8 encoded, 0-terminated human-readable address */ }; -- cgit v1.2.3