summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-05-16 23:04:10 +0100
committeriphydf <iphydf@users.noreply.github.com>2020-05-17 18:16:42 +0100
commit03a511482ffa643a636cd5bcce596f110ca2d8e0 (patch)
treef984d78add7a716a8451907aecbbcdcb2dff690c /toxcore/net_crypto.h
parentfe8e0fb8fa46a815e89e3722a7c92b35181c2ce8 (diff)
Format comments according to tokstyle's requirements.
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