OLD | NEW |
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 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 RetransmittableFrames* retransmittable_frames; | 1064 RetransmittableFrames* retransmittable_frames; |
1065 QuicSequenceNumberLength sequence_number_length; | 1065 QuicSequenceNumberLength sequence_number_length; |
1066 // Zero when the packet is serialized, non-zero once it's sent. | 1066 // Zero when the packet is serialized, non-zero once it's sent. |
1067 QuicTime sent_time; | 1067 QuicTime sent_time; |
1068 // Zero when the packet is serialized, non-zero once it's sent. | 1068 // Zero when the packet is serialized, non-zero once it's sent. |
1069 QuicByteCount bytes_sent; | 1069 QuicByteCount bytes_sent; |
1070 size_t nack_count; | 1070 size_t nack_count; |
1071 // Reason why this packet was transmitted. | 1071 // Reason why this packet was transmitted. |
1072 TransmissionType transmission_type; | 1072 TransmissionType transmission_type; |
1073 // Stores the sequence numbers of all transmissions of this packet. | 1073 // Stores the sequence numbers of all transmissions of this packet. |
1074 // Can never be null. | 1074 // Must always be NULL or have multiple elements. |
1075 SequenceNumberList* all_transmissions; | 1075 SequenceNumberList* all_transmissions; |
1076 // In flight packets have not been abandoned or lost. | 1076 // In flight packets have not been abandoned or lost. |
1077 bool in_flight; | 1077 bool in_flight; |
1078 }; | 1078 }; |
1079 | 1079 |
1080 } // namespace net | 1080 } // namespace net |
1081 | 1081 |
1082 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 1082 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
OLD | NEW |