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 <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1250 QuicEncryptedPacket* packet; | 1250 QuicEncryptedPacket* packet; |
1251 RetransmittableFrames* retransmittable_frames; | 1251 RetransmittableFrames* retransmittable_frames; |
1252 QuicPathId path_id; | 1252 QuicPathId path_id; |
1253 QuicPacketNumber packet_number; | 1253 QuicPacketNumber packet_number; |
1254 QuicPacketNumberLength packet_number_length; | 1254 QuicPacketNumberLength packet_number_length; |
1255 EncryptionLevel encryption_level; | 1255 EncryptionLevel encryption_level; |
1256 QuicPacketEntropyHash entropy_hash; | 1256 QuicPacketEntropyHash entropy_hash; |
1257 bool is_fec_packet; | 1257 bool is_fec_packet; |
1258 bool has_ack; | 1258 bool has_ack; |
1259 bool has_stop_waiting; | 1259 bool has_stop_waiting; |
| 1260 QuicPacketNumber original_packet_number; |
| 1261 TransmissionType transmission_type; |
1260 | 1262 |
1261 // Optional notifiers which will be informed when this packet has been ACKed. | 1263 // Optional notifiers which will be informed when this packet has been ACKed. |
1262 std::list<AckListenerWrapper> listeners; | 1264 std::list<AckListenerWrapper> listeners; |
1263 }; | 1265 }; |
1264 | 1266 |
1265 struct NET_EXPORT_PRIVATE TransmissionInfo { | 1267 struct NET_EXPORT_PRIVATE TransmissionInfo { |
1266 // Used by STL when assigning into a map. | 1268 // Used by STL when assigning into a map. |
1267 TransmissionInfo(); | 1269 TransmissionInfo(); |
1268 | 1270 |
1269 // Constructs a Transmission with a new all_tranmissions set | 1271 // Constructs a Transmission with a new all_tranmissions set |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 : iov(iov), iov_count(iov_count), total_length(total_length) {} | 1314 : iov(iov), iov_count(iov_count), total_length(total_length) {} |
1313 | 1315 |
1314 const struct iovec* iov; | 1316 const struct iovec* iov; |
1315 const int iov_count; | 1317 const int iov_count; |
1316 const size_t total_length; | 1318 const size_t total_length; |
1317 }; | 1319 }; |
1318 | 1320 |
1319 } // namespace net | 1321 } // namespace net |
1320 | 1322 |
1321 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 1323 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
OLD | NEW |