aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-09-07 16:16:00 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-09-07 16:16:00 +0000
commit6a32c510c139f0bbfd2d5d4043252c6996da1f5f (patch)
treec9f9c0bb1cf4e1cca393ed813e919e0d7b0a7ea1 /src/transport/transport.h
parent230c72bb1a9aae87bbbd0f1da505f33fc42b1b99 (diff)
downloadgnunet-6a32c510c139f0bbfd2d5d4043252c6996da1f5f.tar.gz
gnunet-6a32c510c139f0bbfd2d5d4043252c6996da1f5f.zip
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h36
1 files changed, 34 insertions, 2 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 89ace764c..99fa16866 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -30,7 +30,7 @@
30#include "gnunet_time_lib.h" 30#include "gnunet_time_lib.h"
31#include "gnunet_transport_service.h" 31#include "gnunet_transport_service.h"
32 32
33#define DEBUG_TRANSPORT 3 33#define DEBUG_TRANSPORT GNUNET_YES
34 34
35#define DEBUG_TRANSPORT_TIMEOUT GNUNET_NO 35#define DEBUG_TRANSPORT_TIMEOUT GNUNET_NO
36 36
@@ -355,7 +355,7 @@ struct PeerAddressLookupMessage
355 355
356/** 356/**
357 * Message from the library to the transport service 357 * Message from the library to the transport service
358 * asking for human readable addresses known for a peer. 358 * asking for binary addresses known for a peer.
359 */ 359 */
360struct AddressIterateMessage 360struct AddressIterateMessage
361{ 361{
@@ -375,6 +375,38 @@ struct AddressIterateMessage
375 struct GNUNET_TIME_AbsoluteNBO timeout; 375 struct GNUNET_TIME_AbsoluteNBO timeout;
376}; 376};
377 377
378/**
379 * Message from the library to the transport service
380 * asking for human readable addresses known for a peer.
381 */
382struct AddressIterateResponseMessage
383{
384 /**
385 * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_REPLY
386 */
387 struct GNUNET_MessageHeader header;
388
389 /**
390 * For alignment.
391 */
392 uint32_t reserved;
393
394 /**
395 * Peer identity
396 */
397 struct GNUNET_PeerIdentity peer;
398
399 /**
400 * address length
401 */
402 uint32_t addrlen GNUNET_PACKED;
403
404 /**
405 * length of the plugin name
406 */
407 uint32_t pluginlen GNUNET_PACKED;
408};
409
378 410
379/** 411/**
380 * Change in blacklisting (either request or notification, 412 * Change in blacklisting (either request or notification,