aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2013-02-05 16:06:58 +0000
committerwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2013-02-05 16:06:58 +0000
commitafede7cb91e0ee78a395259cb5f09ca9354a18e1 (patch)
treebdd8b29357c6d20034f9ae6bbb105f77d50c1101
parent657908e9c4444ad615bb150c43d43f317a7c130b (diff)
documentation
git-svn-id: https://gnunet.org/svn/gnunet@26026 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c2
-rw-r--r--src/transport/test_transport_api_manipulation_recv_tcp.c15
-rw-r--r--src/transport/test_transport_api_manipulation_send_tcp.c13
3 files changed, 16 insertions, 14 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index c00d2b64e8..34c8ab1739 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -22,7 +22,7 @@
* @file transport/gnunet-service-transport_manipulation.c
* @brief transport component manipulation traffic for simulation
* @author Christian Grothoff
- * @author
+ * @author Matthias Wachs
*/
#include "platform.h"
#include "gnunet-service-transport_blacklist.h"
diff --git a/src/transport/test_transport_api_manipulation_recv_tcp.c b/src/transport/test_transport_api_manipulation_recv_tcp.c
index ef734307e8..46215076f6 100644
--- a/src/transport/test_transport_api_manipulation_recv_tcp.c
+++ b/src/transport/test_transport_api_manipulation_recv_tcp.c
@@ -18,13 +18,14 @@
Boston, MA 02111-1307, USA.
*/
/**
- * @file transport/test_transport_api.c
- * @brief base test case for transport implementations
+ * @file transport/test_transport_api_manipulation_recv_tcp.c
+ * @brief base test case for transport traffic manipulation implementation
*
- * This test case serves as a base for tcp, udp, and udp-nat
- * transport test cases. Based on the executable being run
- * the correct test case will be performed. Conservation of
- * C code apparently.
+ * This test case will setup 2 peers and connect them, the first message
+ * will be sent without manipulation, then a receive delay of 1 second will
+ * be configured and 2 more message will be sent. Time will be measured
+ *
+ * In addition the distance on receiver side will be manipulated to be 10
*/
#include "platform.h"
#include "gnunet_transport_service.h"
@@ -489,4 +490,4 @@ main (int argc, char *argv[])
return ret;
}
-/* end of test_transport_api.c */
+/* end of test_transport_api_manipulation_recv_tcp.c */
diff --git a/src/transport/test_transport_api_manipulation_send_tcp.c b/src/transport/test_transport_api_manipulation_send_tcp.c
index 6e8489e6e3..2e40e9fcc0 100644
--- a/src/transport/test_transport_api_manipulation_send_tcp.c
+++ b/src/transport/test_transport_api_manipulation_send_tcp.c
@@ -18,13 +18,14 @@
Boston, MA 02111-1307, USA.
*/
/**
- * @file transport/test_transport_api.c
- * @brief base test case for transport implementations
+ * @file transport/test_transport_api_manipulation_send_tcp.c
+ * @brief base test case for transport traffic manipulation implementation
*
- * This test case serves as a base for tcp, udp, and udp-nat
- * transport test cases. Based on the executable being run
- * the correct test case will be performed. Conservation of
- * C code apparently.
+ * This test case will setup 2 peers and connect them, the first message
+ * will be sent without manipulation, then a send delay of 1 second will
+ * be configured and 1 more message will be sent. Time will be measured.
+ *
+ * In addition the distance on receiver side will be manipulated to be 10
*/
#include "platform.h"
#include "gnunet_transport_service.h"