aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_constants.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-12-15 07:30:46 +0000
committerBart Polot <bart@net.in.tum.de>2014-12-15 07:30:46 +0000
commit13127bcace2ce4ae867f885e7ffb4b3885402ecd (patch)
tree71e38cf952e2cafed2d106c8bac8b2e6b0406f8b /src/include/gnunet_constants.h
parent6b9a9a88ba0f2201f7b1a759b75292ab05e36588 (diff)
downloadgnunet-13127bcace2ce4ae867f885e7ffb4b3885402ecd.tar.gz
gnunet-13127bcace2ce4ae867f885e7ffb4b3885402ecd.zip
- fix cadet's overhead
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r--src/include/gnunet_constants.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index 9ef500388..36fa72bd0 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -121,10 +121,14 @@ extern "C"
121#define GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE (63 * 1024) 121#define GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE (63 * 1024)
122 122
123/** 123/**
124 * Size of the CADET message overhead. 124 * Size of the CADET message overhead:
125 * See gnunet-service-cadet_tunnel.c: GCT_init for more info. 125 * + sizeof (struct GNUNET_CADET_Encrypted)
126 * + sizeof (struct GNUNET_CADET_Data)
127 * + sizeof (struct GNUNET_CADET_ACK))
128 *
129 * Checked for correcteness in gnunet-service-cadet_tunnel.c: GCT_init().
126 */ 130 */
127#define GNUNET_CONSTANTS_CADET_P2P_OVERHEAD 92 131#define GNUNET_CONSTANTS_CADET_P2P_OVERHEAD 132
128 132
129/** 133/**
130 * Maximum message size that can be sent on CADET. 134 * Maximum message size that can be sent on CADET.