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

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

Issue 355573007: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added NET_EXPORT_PRIVATE for ContainsQuicTag Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_protocol_test.cc ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // maintains the currently active notifiers. 283 // maintains the currently active notifiers.
284 AckNotifierManager ack_notifier_manager_; 284 AckNotifierManager ack_notifier_manager_;
285 285
286 const QuicClock* clock_; 286 const QuicClock* clock_;
287 QuicConnectionStats* stats_; 287 QuicConnectionStats* stats_;
288 DebugDelegate* debug_delegate_; 288 DebugDelegate* debug_delegate_;
289 RttStats rtt_stats_; 289 RttStats rtt_stats_;
290 scoped_ptr<SendAlgorithmInterface> send_algorithm_; 290 scoped_ptr<SendAlgorithmInterface> send_algorithm_;
291 scoped_ptr<LossDetectionInterface> loss_algorithm_; 291 scoped_ptr<LossDetectionInterface> loss_algorithm_;
292 292
293 QuicPacketSequenceNumber largest_observed_; // From the most recent ACK. 293 // The largest sequence number which we have sent and received an ACK for
294 // from the peer.
295 QuicPacketSequenceNumber largest_observed_;
296
297 // Tracks the first RTO packet. If any packet before that packet gets acked,
298 // it indicates the RTO was spurious and should be reversed(F-RTO).
299 QuicPacketSequenceNumber first_rto_transmission_;
294 // Number of times the RTO timer has fired in a row without receiving an ack. 300 // Number of times the RTO timer has fired in a row without receiving an ack.
295 size_t consecutive_rto_count_; 301 size_t consecutive_rto_count_;
296 // Number of times the tail loss probe has been sent. 302 // Number of times the tail loss probe has been sent.
297 size_t consecutive_tlp_count_; 303 size_t consecutive_tlp_count_;
298 // Number of times the crypto handshake has been retransmitted. 304 // Number of times the crypto handshake has been retransmitted.
299 size_t consecutive_crypto_retransmission_count_; 305 size_t consecutive_crypto_retransmission_count_;
300 // Whether a tlp packet can be sent even if the send algorithm says not to. 306 // Whether a tlp packet can be sent even if the send algorithm says not to.
301 bool pending_tlp_transmission_; 307 bool pending_tlp_transmission_;
302 // Maximum number of tail loss probes to send before firing an RTO. 308 // Maximum number of tail loss probes to send before firing an RTO.
303 size_t max_tail_loss_probes_; 309 size_t max_tail_loss_probes_;
304 bool using_pacing_; 310 bool using_pacing_;
305 311
306 // Sets of packets acked and lost as a result of the last congestion event. 312 // Sets of packets acked and lost as a result of the last congestion event.
307 SendAlgorithmInterface::CongestionMap packets_acked_; 313 SendAlgorithmInterface::CongestionMap packets_acked_;
308 SendAlgorithmInterface::CongestionMap packets_lost_; 314 SendAlgorithmInterface::CongestionMap packets_lost_;
309 315
310 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 316 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
311 }; 317 };
312 318
313 } // namespace net 319 } // namespace net
314 320
315 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 321 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol_test.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698