| 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 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1433 int num_padding_bytes); | 1433 int num_padding_bytes); |
| 1434 | 1434 |
| 1435 TransmissionInfo(const TransmissionInfo& other); | 1435 TransmissionInfo(const TransmissionInfo& other); |
| 1436 | 1436 |
| 1437 ~TransmissionInfo(); | 1437 ~TransmissionInfo(); |
| 1438 | 1438 |
| 1439 QuicFrames retransmittable_frames; | 1439 QuicFrames retransmittable_frames; |
| 1440 EncryptionLevel encryption_level; | 1440 EncryptionLevel encryption_level; |
| 1441 QuicPacketNumberLength packet_number_length; | 1441 QuicPacketNumberLength packet_number_length; |
| 1442 QuicPacketLength bytes_sent; | 1442 QuicPacketLength bytes_sent; |
| 1443 uint16_t nack_count; | |
| 1444 QuicTime sent_time; | 1443 QuicTime sent_time; |
| 1445 // Reason why this packet was transmitted. | 1444 // Reason why this packet was transmitted. |
| 1446 TransmissionType transmission_type; | 1445 TransmissionType transmission_type; |
| 1447 // In flight packets have not been abandoned or lost. | 1446 // In flight packets have not been abandoned or lost. |
| 1448 bool in_flight; | 1447 bool in_flight; |
| 1449 // True if the packet can never be acked, so it can be removed. Occurs when | 1448 // True if the packet can never be acked, so it can be removed. Occurs when |
| 1450 // a packet is never sent, after it is acknowledged once, or if it's a crypto | 1449 // a packet is never sent, after it is acknowledged once, or if it's a crypto |
| 1451 // packet we never expect to receive an ack for. | 1450 // packet we never expect to receive an ack for. |
| 1452 bool is_unackable; | 1451 bool is_unackable; |
| 1453 // True if the packet contains stream data from the crypto stream. | 1452 // True if the packet contains stream data from the crypto stream. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1497 : iov(iov), iov_count(iov_count), total_length(total_length) {} | 1496 : iov(iov), iov_count(iov_count), total_length(total_length) {} |
| 1498 | 1497 |
| 1499 const struct iovec* iov; | 1498 const struct iovec* iov; |
| 1500 const int iov_count; | 1499 const int iov_count; |
| 1501 const size_t total_length; | 1500 const size_t total_length; |
| 1502 }; | 1501 }; |
| 1503 | 1502 |
| 1504 } // namespace net | 1503 } // namespace net |
| 1505 | 1504 |
| 1506 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 1505 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
| OLD | NEW |