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

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

Issue 1787443002: Remove lastest_revived_packet from QuicAckFrame since FEC is gone. No functional change expected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116391846
Patch Set: Removed revived packet from QuicConnectionLogger 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_framer_test.cc ('k') | net/quic/quic_protocol.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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 963
964 // Time elapsed since largest_observed was received until this Ack frame was 964 // Time elapsed since largest_observed was received until this Ack frame was
965 // sent. 965 // sent.
966 QuicTime::Delta ack_delay_time; 966 QuicTime::Delta ack_delay_time;
967 967
968 // Vector of <packet_number, time> for when packets arrived. 968 // Vector of <packet_number, time> for when packets arrived.
969 PacketTimeVector received_packet_times; 969 PacketTimeVector received_packet_times;
970 970
971 // The set of packets which we're expecting and have not received. 971 // The set of packets which we're expecting and have not received.
972 PacketNumberQueue missing_packets; 972 PacketNumberQueue missing_packets;
973
974 // Packet most recently revived via FEC, 0 if no packet was revived by FEC.
975 // If non-zero, must be present in missing_packets.
976 QuicPacketNumber latest_revived_packet;
977 }; 973 };
978 974
979 // True if the packet number is greater than largest_observed or is listed 975 // True if the packet number is greater than largest_observed or is listed
980 // as missing. 976 // as missing.
981 // Always returns false for packet numbers less than least_unacked. 977 // Always returns false for packet numbers less than least_unacked.
982 bool NET_EXPORT_PRIVATE IsAwaitingPacket(const QuicAckFrame& ack_frame, 978 bool NET_EXPORT_PRIVATE IsAwaitingPacket(const QuicAckFrame& ack_frame,
983 QuicPacketNumber packet_number); 979 QuicPacketNumber packet_number);
984 980
985 // Defines for all types of congestion control algorithms that can be used in 981 // Defines for all types of congestion control algorithms that can be used in
986 // QUIC. Note that this is separate from the congestion feedback type - 982 // QUIC. Note that this is separate from the congestion feedback type -
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1389 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1385 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1390 1386
1391 const struct iovec* iov; 1387 const struct iovec* iov;
1392 const int iov_count; 1388 const int iov_count;
1393 const size_t total_length; 1389 const size_t total_length;
1394 }; 1390 };
1395 1391
1396 } // namespace net 1392 } // namespace net
1397 1393
1398 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1394 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_framer_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698