From 5cd01bc84cf0809af357d9fc2ee7b3b4e88178c5 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 14 Sep 2012 10:43:08 +0000 Subject: [PATCH] added new message for inter-host overlay connects --- src/testbed/testbed.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h index 2b9a617f9..04421ccf5 100644 --- a/src/testbed/testbed.h +++ b/src/testbed/testbed.h @@ -400,6 +400,35 @@ struct GNUNET_TESTBED_OverlayConnectMessage }; +/** + * Message sent from host controller of a peer(A) to the host controller of + * another peer(B) to request B to connect to A + */ +struct GNUNET_TESTBED_RequestConnectMessage +{ + /** + * Type is GNUNET_MESSAGE_TYPE_TESTBED_REQUESTCONNECT + */ + struct GNUNET_MessageHeader header; + + /** + * The Unique ID of B + */ + uint32_t peer GNUNET_PACKED; + + /** + * The Operation ID that is used to identify this operation + */ + uint64_t operation_id GNUNET_PACKED; + + /** + * To be followed by the HELLO message of A + */ + struct GNUNET_MessageHeader hello[0]; + +}; + + /** * Event notification from a controller to a client. */ -- 2.25.1