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

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

Issue 2404003002: relnote: Add a new LazyFack loss detection to QUIC triggered by the LFAK connection option. (Closed)
Patch Set: Created 4 years, 2 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/core/quic_flags_list.h ('k') | net/quic/core/quic_sent_packet_manager.cc » ('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 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 kCubicBytes, 1053 kCubicBytes,
1054 kReno, 1054 kReno,
1055 kRenoBytes, 1055 kRenoBytes,
1056 kBBR, 1056 kBBR,
1057 }; 1057 };
1058 1058
1059 enum LossDetectionType { 1059 enum LossDetectionType {
1060 kNack, // Used to mimic TCP's loss detection. 1060 kNack, // Used to mimic TCP's loss detection.
1061 kTime, // Time based loss detection. 1061 kTime, // Time based loss detection.
1062 kAdaptiveTime, // Adaptive time based loss detection. 1062 kAdaptiveTime, // Adaptive time based loss detection.
1063 kLazyFack, // Nack based but with FACK disabled for the first ack.
1063 }; 1064 };
1064 1065
1065 struct NET_EXPORT_PRIVATE QuicRstStreamFrame { 1066 struct NET_EXPORT_PRIVATE QuicRstStreamFrame {
1066 QuicRstStreamFrame(); 1067 QuicRstStreamFrame();
1067 QuicRstStreamFrame(QuicStreamId stream_id, 1068 QuicRstStreamFrame(QuicStreamId stream_id,
1068 QuicRstStreamErrorCode error_code, 1069 QuicRstStreamErrorCode error_code,
1069 QuicStreamOffset bytes_written); 1070 QuicStreamOffset bytes_written);
1070 1071
1071 NET_EXPORT_PRIVATE friend std::ostream& operator<<( 1072 NET_EXPORT_PRIVATE friend std::ostream& operator<<(
1072 std::ostream& os, 1073 std::ostream& os,
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1531 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1531 1532
1532 const struct iovec* iov; 1533 const struct iovec* iov;
1533 const int iov_count; 1534 const int iov_count;
1534 const size_t total_length; 1535 const size_t total_length;
1535 }; 1536 };
1536 1537
1537 } // namespace net 1538 } // namespace net
1538 1539
1539 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1540 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_flags_list.h ('k') | net/quic/core/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698