diff options
Diffstat (limited to 'src/transport/gnunet-communicator-tcp.c')
-rw-r--r-- | src/transport/gnunet-communicator-tcp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c index d8d37bbb7..faacb3aab 100644 --- a/src/transport/gnunet-communicator-tcp.c +++ b/src/transport/gnunet-communicator-tcp.c | |||
@@ -52,7 +52,7 @@ | |||
52 | * the other peer should revalidate). | 52 | * the other peer should revalidate). |
53 | */ | 53 | */ |
54 | #define ADDRESS_VALIDITY_PERIOD \ | 54 | #define ADDRESS_VALIDITY_PERIOD \ |
55 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 4) | 55 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 4) |
56 | 56 | ||
57 | /** | 57 | /** |
58 | * How many messages do we keep at most in the queue to the | 58 | * How many messages do we keep at most in the queue to the |
@@ -91,16 +91,16 @@ | |||
91 | * directions. | 91 | * directions. |
92 | */ | 92 | */ |
93 | #define INITIAL_KX_SIZE \ | 93 | #define INITIAL_KX_SIZE \ |
94 | (sizeof(struct GNUNET_CRYPTO_EcdhePublicKey) \ | 94 | (sizeof(struct GNUNET_CRYPTO_EcdhePublicKey) \ |
95 | + sizeof(struct TCPConfirmation)) | 95 | + sizeof(struct TCPConfirmation)) |
96 | 96 | ||
97 | /** | 97 | /** |
98 | * Size of the initial core key exchange messages. | 98 | * Size of the initial core key exchange messages. |
99 | */ | 99 | */ |
100 | #define INITIAL_CORE_KX_SIZE \ | 100 | #define INITIAL_CORE_KX_SIZE \ |
101 | (sizeof(struct EphemeralKeyMessage) \ | 101 | (sizeof(struct EphemeralKeyMessage) \ |
102 | + sizeof(struct PingMessage) \ | 102 | + sizeof(struct PingMessage) \ |
103 | + sizeof(struct PongMessage)) | 103 | + sizeof(struct PongMessage)) |
104 | 104 | ||
105 | /** | 105 | /** |
106 | * Address prefix used by the communicator. | 106 | * Address prefix used by the communicator. |