summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r--toxcore/net_crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h
index 3885a1ba..33275708 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -87,7 +87,7 @@
87#define CRYPTO_SEND_PACKET_INTERVAL 1000 87#define CRYPTO_SEND_PACKET_INTERVAL 1000
88 88
89/* The maximum number of times we try to send the cookie request and handshake 89/* The maximum number of times we try to send the cookie request and handshake
90 before giving up. */ 90 * before giving up. */
91#define MAX_NUM_SENDPACKET_TRIES 8 91#define MAX_NUM_SENDPACKET_TRIES 8
92 92
93/* The timeout of no received UDP packets before the direct UDP connection is considered dead. */ 93/* The timeout of no received UDP packets before the direct UDP connection is considered dead. */
@@ -100,7 +100,7 @@
100#define CRYPTO_MAX_PADDING 8 100#define CRYPTO_MAX_PADDING 8
101 101
102/* Base current transfer speed on last CONGESTION_QUEUE_ARRAY_SIZE number of points taken 102/* Base current transfer speed on last CONGESTION_QUEUE_ARRAY_SIZE number of points taken
103 at the dT defined in net_crypto.c */ 103 * at the dT defined in net_crypto.c */
104#define CONGESTION_QUEUE_ARRAY_SIZE 12 104#define CONGESTION_QUEUE_ARRAY_SIZE 12
105#define CONGESTION_LAST_SENT_ARRAY_SIZE (CONGESTION_QUEUE_ARRAY_SIZE * 2) 105#define CONGESTION_LAST_SENT_ARRAY_SIZE (CONGESTION_QUEUE_ARRAY_SIZE * 2)
106 106