aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-02-16 15:05:53 +0000
committerChristian Grothoff <christian@grothoff.org>2014-02-16 15:05:53 +0000
commitfb60ff5399299f4fc59828b5c04081830c589bfd (patch)
tree02423d41f9d171190e038e2ba42d3c738d6fb2e9 /src
parentdd8fd9eba9be423a1d71bdca2e3d33c3f46924c6 (diff)
downloadgnunet-fb60ff5399299f4fc59828b5c04081830c589bfd.tar.gz
gnunet-fb60ff5399299f4fc59828b5c04081830c589bfd.zip
-fix copy-n-paste-comment and doxygen
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_constants.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index b8a049cb9..705809186 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -97,15 +97,13 @@ extern "C"
97 97
98 98
99/** 99/**
100 * After how long do we expire an address in a HELLO that we just 100 * How long do we cache records at most in the DHT?
101 * validated? This value is also used for our own addresses when we
102 * create a HELLO.
103 */ 101 */
104#define GNUNET_CONSTANTS_DHT_MAX_EXPIRATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 24) 102#define GNUNET_CONSTANTS_DHT_MAX_EXPIRATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 24)
105 103
106 104
107/** 105/**
108 * Size of the 'struct EncryptedMessage' of the core (which 106 * Size of the `struct EncryptedMessage` of the core (which
109 * is the per-message overhead of the core). 107 * is the per-message overhead of the core).
110 */ 108 */
111#define GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE (24 + sizeof (struct GNUNET_HashCode)) 109#define GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE (24 + sizeof (struct GNUNET_HashCode))
@@ -116,8 +114,8 @@ extern "C"
116 * Set to a value close to 64k but not so close that transports will 114 * Set to a value close to 64k but not so close that transports will
117 * have trouble with their headers. 115 * have trouble with their headers.
118 * 116 *
119 * Could theoretically be 64k minus (GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE + 117 * Could theoretically be 64k minus (#GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE +
120 * GNUNET_CONSTANTS_TRANSPORT_SIZE_OUTBOUND_MESSAGE), but we're going 118 * #GNUNET_CONSTANTS_TRANSPORT_SIZE_OUTBOUND_MESSAGE), but we're going
121 * to be more conservative for now. 119 * to be more conservative for now.
122 */ 120 */
123#define GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE (63 * 1024) 121#define GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE (63 * 1024)