Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: net/quic/quic_protocol.h

Issue 1777293002: Add a new QUIC Ack Decimation mode that is reordering tolerant. Protected by FLAG_quic_ack_decimati… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115844136
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_received_packet_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Reserved ID for the headers stream. 133 // Reserved ID for the headers stream.
134 const QuicStreamId kHeadersStreamId = 3; 134 const QuicStreamId kHeadersStreamId = 3;
135 135
136 // Header key used to identify final offset on data stream when sending HTTP/2 136 // Header key used to identify final offset on data stream when sending HTTP/2
137 // trailing headers over QUIC. 137 // trailing headers over QUIC.
138 NET_EXPORT_PRIVATE extern const char* const kFinalOffsetHeaderKey; 138 NET_EXPORT_PRIVATE extern const char* const kFinalOffsetHeaderKey;
139 139
140 // Maximum delayed ack time, in ms. 140 // Maximum delayed ack time, in ms.
141 const int64_t kMaxDelayedAckTimeMs = 25; 141 const int64_t kMaxDelayedAckTimeMs = 25;
142 142
143 // Minimum tail loss probe time in ms.
144 static const int64_t kMinTailLossProbeTimeoutMs = 10;
145
143 // The timeout before the handshake succeeds. 146 // The timeout before the handshake succeeds.
144 const int64_t kInitialIdleTimeoutSecs = 5; 147 const int64_t kInitialIdleTimeoutSecs = 5;
145 // The default idle timeout. 148 // The default idle timeout.
146 const int64_t kDefaultIdleTimeoutSecs = 30; 149 const int64_t kDefaultIdleTimeoutSecs = 30;
147 // The maximum idle timeout that can be negotiated. 150 // The maximum idle timeout that can be negotiated.
148 const int64_t kMaximumIdleTimeoutSecs = 60 * 10; // 10 minutes. 151 const int64_t kMaximumIdleTimeoutSecs = 60 * 10; // 10 minutes.
149 // The default timeout for a connection until the crypto handshake succeeds. 152 // The default timeout for a connection until the crypto handshake succeeds.
150 const int64_t kMaxTimeForCryptoHandshakeSecs = 10; // 10 secs. 153 const int64_t kMaxTimeForCryptoHandshakeSecs = 10; // 10 secs.
151 154
152 // Default limit on the number of undecryptable packets the connection buffers 155 // Default limit on the number of undecryptable packets the connection buffers
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1415 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1413 1416
1414 const struct iovec* iov; 1417 const struct iovec* iov;
1415 const int iov_count; 1418 const int iov_count;
1416 const size_t total_length; 1419 const size_t total_length;
1417 }; 1420 };
1418 1421
1419 } // namespace net 1422 } // namespace net
1420 1423
1421 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1424 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_received_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698