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

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

Issue 1009203003: Add a kBYTE congestion option to QUIC to negotiate the TcpCubicBytesSender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_support_for_MIN1_88167032
Patch Set: Created 5 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/crypto/crypto_protocol.h ('k') | net/quic/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 <limits> 9 #include <limits>
10 #include <list> 10 #include <list>
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 QuicAckFrame* ack_frame, 748 QuicAckFrame* ack_frame,
749 QuicPacketSequenceNumber lower, 749 QuicPacketSequenceNumber lower,
750 QuicPacketSequenceNumber higher); 750 QuicPacketSequenceNumber higher);
751 751
752 // Defines for all types of congestion control algorithms that can be used in 752 // Defines for all types of congestion control algorithms that can be used in
753 // QUIC. Note that this is separate from the congestion feedback type - 753 // QUIC. Note that this is separate from the congestion feedback type -
754 // some congestion control algorithms may use the same feedback type 754 // some congestion control algorithms may use the same feedback type
755 // (Reno and Cubic are the classic example for that). 755 // (Reno and Cubic are the classic example for that).
756 enum CongestionControlType { 756 enum CongestionControlType {
757 kCubic, 757 kCubic,
758 kCubicBytes,
758 kReno, 759 kReno,
760 kRenoBytes,
759 kBBR, 761 kBBR,
760 }; 762 };
761 763
762 enum LossDetectionType { 764 enum LossDetectionType {
763 kNack, // Used to mimic TCP's loss detection. 765 kNack, // Used to mimic TCP's loss detection.
764 kTime, // Time based loss detection. 766 kTime, // Time based loss detection.
765 }; 767 };
766 768
767 struct NET_EXPORT_PRIVATE QuicRstStreamFrame { 769 struct NET_EXPORT_PRIVATE QuicRstStreamFrame {
768 QuicRstStreamFrame(); 770 QuicRstStreamFrame();
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 bool in_flight; 1050 bool in_flight;
1049 // True if the packet can never be acked, so it can be removed. 1051 // True if the packet can never be acked, so it can be removed.
1050 bool is_unackable; 1052 bool is_unackable;
1051 // True if the packet is an FEC packet. 1053 // True if the packet is an FEC packet.
1052 bool is_fec_packet; 1054 bool is_fec_packet;
1053 }; 1055 };
1054 1056
1055 } // namespace net 1057 } // namespace net
1056 1058
1057 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1059 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_protocol.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698