aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-22 15:04:17 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-22 15:04:17 +0000
commit8d5551b3b718683d369bf343cb9cdb33c06d5906 (patch)
treec13f539ece60aca48985087c847fc5b3b698a3d2 /src/include/gnunet_ats_service.h
parent8aea11bce3118cc01c66d3afb5c2ec02b766c95c (diff)
downloadgnunet-8d5551b3b718683d369bf343cb9cdb33c06d5906.tar.gz
gnunet-8d5551b3b718683d369bf343cb9cdb33c06d5906.zip
-do pass local_address_info flag from/to ATS also for performance monitor
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r--src/include/gnunet_ats_service.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index c030d7dc3..9ef2d275c 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -106,6 +106,12 @@ struct GNUNET_ATS_Properties
106{ 106{
107 107
108 /** 108 /**
109 * Delay. Time between when the time packet is sent and the packet
110 * arrives. FOREVER if we did not measure yet.
111 */
112 struct GNUNET_TIME_Relative delay;
113
114 /**
109 * Actual traffic on this connection from this peer to the other peer. 115 * Actual traffic on this connection from this peer to the other peer.
110 * Includes transport overhead. 116 * Includes transport overhead.
111 * 117 *
@@ -122,22 +128,16 @@ struct GNUNET_ATS_Properties
122 uint32_t utilization_in; 128 uint32_t utilization_in;
123 129
124 /** 130 /**
125 * Which network scope does the respective address belong to?
126 * This property does not change.
127 */
128 enum GNUNET_ATS_Network_Type scope;
129
130 /**
131 * Distance on network layer (required for distance-vector routing) 131 * Distance on network layer (required for distance-vector routing)
132 * in hops. Zero for direct connections (i.e. plain TCP/UDP). 132 * in hops. Zero for direct connections (i.e. plain TCP/UDP).
133 */ 133 */
134 unsigned int distance; 134 unsigned int distance;
135 135
136 /** 136 /**
137 * Delay. Time between when the time packet is sent and the packet 137 * Which network scope does the respective address belong to?
138 * arrives. FOREVER if we did not measure yet. 138 * This property does not change.
139 */ 139 */
140 struct GNUNET_TIME_Relative delay; 140 enum GNUNET_ATS_Network_Type scope;
141 141
142}; 142};
143 143