aboutsummaryrefslogtreecommitdiff
path: root/src/fragmentation
diff options
context:
space:
mode:
Diffstat (limited to 'src/fragmentation')
-rw-r--r--src/fragmentation/test_fragmentation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fragmentation/test_fragmentation.c b/src/fragmentation/test_fragmentation.c
index 70fd84944..4415664a4 100644
--- a/src/fragmentation/test_fragmentation.c
+++ b/src/fragmentation/test_fragmentation.c
@@ -32,7 +32,7 @@
32/** 32/**
33 * Number of messages to transmit (note: each uses ~32k memory!) 33 * Number of messages to transmit (note: each uses ~32k memory!)
34 */ 34 */
35#define NUM_MSGS 500 35#define NUM_MSGS 5000
36 36
37/** 37/**
38 * MTU to force on fragmentation (must be > 1k + 12) 38 * MTU to force on fragmentation (must be > 1k + 12)
@@ -208,7 +208,7 @@ run (void *cls,
208 for (i=0;i<NUM_MSGS;i++) 208 for (i=0;i<NUM_MSGS;i++)
209 { 209 {
210 msg->type = htons ((uint16_t) i); 210 msg->type = htons ((uint16_t) i);
211 msg->size = htons (MTU + 1 + (17 * i) % (32 * 1024)); 211 msg->size = htons ( 1 + (17 * i) % (32 * 1024));
212 frags[i] = GNUNET_FRAGMENT_context_create (NULL /* no stats */, 212 frags[i] = GNUNET_FRAGMENT_context_create (NULL /* no stats */,
213 MTU, 213 MTU,
214 &trackers[i], 214 &trackers[i],