diff options
author | irungentoo <irungentoo@gmail.com> | 2015-11-20 20:34:15 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-11-20 20:34:15 -0500 |
commit | 994a5db1058119409005a3874c936ed6c0b49766 (patch) | |
tree | 33c14bfc79087842c60ff422afce85d5214fd201 /toxcore/net_crypto.h | |
parent | 5a800fe467a7e9b22b15db62dbd0a0f269cdb386 (diff) |
File transfer fix.
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r-- | toxcore/net_crypto.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h index cecf6df1..64caf9ad 100644 --- a/toxcore/net_crypto.h +++ b/toxcore/net_crypto.h | |||
@@ -85,6 +85,7 @@ | |||
85 | 85 | ||
86 | /* Default connection ping in ms. */ | 86 | /* Default connection ping in ms. */ |
87 | #define DEFAULT_PING_CONNECTION 1000 | 87 | #define DEFAULT_PING_CONNECTION 1000 |
88 | #define DEFAULT_TCP_PING_CONNECTION 500 | ||
88 | 89 | ||
89 | typedef struct { | 90 | typedef struct { |
90 | uint64_t sent_time; | 91 | uint64_t sent_time; |
@@ -156,8 +157,9 @@ typedef struct { | |||
156 | uint64_t last_packets_left_requested_set; | 157 | uint64_t last_packets_left_requested_set; |
157 | 158 | ||
158 | uint32_t last_sendqueue_size[CONGESTION_QUEUE_ARRAY_SIZE], last_sendqueue_counter; | 159 | uint32_t last_sendqueue_size[CONGESTION_QUEUE_ARRAY_SIZE], last_sendqueue_counter; |
159 | long signed int last_num_packets_sent[CONGESTION_LAST_SENT_ARRAY_SIZE]; | 160 | long signed int last_num_packets_sent[CONGESTION_LAST_SENT_ARRAY_SIZE], |
160 | uint32_t packets_sent; | 161 | last_num_packets_resent[CONGESTION_LAST_SENT_ARRAY_SIZE]; |
162 | uint32_t packets_sent, packets_resent; | ||
161 | uint64_t last_congestion_event; | 163 | uint64_t last_congestion_event; |
162 | uint64_t rtt_time; | 164 | uint64_t rtt_time; |
163 | 165 | ||