* @brief common internal definitions for transport service
* @author Christian Grothoff
*/
+#ifndef TRANSPORT_H
+#define TRANSPORT_H
+
#include "gnunet_crypto_lib.h"
#include "gnunet_time_lib.h"
#include "gnunet_transport_service.h"
*/
struct GNUNET_TIME_RelativeNBO latency;
+ /*
+ * Transport distance metric (i.e. hops for DV)
+ */
+ uint16_t distance;
+
/**
* Identity of the new neighbour.
*/
*/
struct GNUNET_PeerIdentity peer;
+ /*
+ * Distance metric.
+ */
+ uint16_t distance;
+
};
/* end of transport.h */
+#endif