aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_peers.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-01-01 22:44:12 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-01-01 22:44:12 +0000
commit01e21ba6afe2d16ba45b5a73f2777152fd27ffc3 (patch)
treee4ba10669fac95d66763c8d9c8812eda9da3b7b0 /src/testbed/testbed_api_peers.h
parent5200c6d68ff70c484c480794e5debbc50b62e2aa (diff)
downloadgnunet-01e21ba6afe2d16ba45b5a73f2777152fd27ffc3.tar.gz
gnunet-01e21ba6afe2d16ba45b5a73f2777152fd27ffc3.zip
adaptive parallelism for overlay connect operations based on SD calculations
Diffstat (limited to 'src/testbed/testbed_api_peers.h')
-rw-r--r--src/testbed/testbed_api_peers.h29
1 files changed, 6 insertions, 23 deletions
diff --git a/src/testbed/testbed_api_peers.h b/src/testbed/testbed_api_peers.h
index 13eb1d036..f02079926 100644
--- a/src/testbed/testbed_api_peers.h
+++ b/src/testbed/testbed_api_peers.h
@@ -219,31 +219,14 @@ struct OverlayConnectData
219 struct OperationContext *sub_opc; 219 struct OperationContext *sub_opc;
220 220
221 /** 221 /**
222 * State information for this context data 222 * The starting time of this operation
223 */ 223 */
224 enum OCDState { 224 struct GNUNET_TIME_Absolute tstart;
225
226 /**
227 * The initial state
228 */
229 OCD_INIT,
230 225
231 /** 226 /**
232 * State where we attempt to acquire peer2's controller's configuration 227 * The timing slot index for this operation
233 */ 228 */
234 OCD_CFG_ACQUIRE, 229 unsigned int tslot_index;
235
236 /**
237 * State where we link peer1's controller to peer2's controller
238 */
239 OCD_LINK_CONTROLLERS,
240
241 /**
242 * State where we re-ask controller of peer1 to attempt an overlay connect
243 * between peer1 and peer2
244 */
245 OCD_REATTEMPT_OVERLAY_CONNECT
246 } state;
247 230
248}; 231};
249 232