|
GNUnet 0.22.2
|
|
Go to the documentation of this file.
32#ifndef GNUNET_CONSTANTS_H
33#define GNUNET_CONSTANTS_H
50#define GNUNET_CONSTANTS_DEFAULT_BW_IN_OUT GNUNET_BANDWIDTH_value_init (1024 \
57#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply ( \
58 GNUNET_TIME_UNIT_MINUTES, 5)
63#define GNUNET_CONSTANTS_QUOTA_VIOLATION_TIMEOUT GNUNET_TIME_relative_multiply ( \
64 GNUNET_TIME_UNIT_SECONDS, 2)
71#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply ( \
72 GNUNET_TIME_UNIT_MINUTES, 10)
77#define GNUNET_CONSTANTS_MAX_CORK_DELAY GNUNET_TIME_relative_multiply ( \
78 GNUNET_TIME_UNIT_SECONDS, 1)
83#define GNUNET_CONSTANTS_LATENCY_WARN GNUNET_TIME_relative_multiply ( \
84 GNUNET_TIME_UNIT_SECONDS, 3)
94#define GNUNET_CONSTANTS_IDLE_LOAD_THRESHOLD 70
100#define GNUNET_CONSTANTS_MAX_BANDWIDTH_CARRY_S 5
108#define GNUNET_CONSTANTS_HELLO_ADDRESS_EXPIRATION GNUNET_TIME_relative_multiply ( \
109 GNUNET_TIME_UNIT_HOURS, 12)
115#define GNUNET_CONSTANTS_DHT_MAX_EXPIRATION GNUNET_TIME_relative_multiply ( \
116 GNUNET_TIME_UNIT_HOURS, 24)
123#define GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE (24 + sizeof(struct \
136#define GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE (63 * 1024)
146#define GNUNET_CONSTANTS_CADET_P2P_OVERHEAD 164
151#define GNUNET_CONSTANTS_MAX_CADET_MESSAGE_SIZE \
152 (GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE \
153 - GNUNET_CONSTANTS_CADET_P2P_OVERHEAD)
158#define GNUNET_CONSTANTS_MAX_BLOCK_SIZE (62 * 1024)
165#define GNUNET_CONSTANTS_BLOOMFILTER_K 16