| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_CONNECTION_LOGGER_H_ | 5 #ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
| 6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 QuicPacketNumber last_received_packet_number_; | 105 QuicPacketNumber last_received_packet_number_; |
| 106 // The size of the most recently received packet. | 106 // The size of the most recently received packet. |
| 107 size_t last_received_packet_size_; | 107 size_t last_received_packet_size_; |
| 108 // True if a PING frame has been sent and no packet has been received. | 108 // True if a PING frame has been sent and no packet has been received. |
| 109 bool no_packet_received_after_ping_; | 109 bool no_packet_received_after_ping_; |
| 110 // The size of the previously received packet. | 110 // The size of the previously received packet. |
| 111 size_t previous_received_packet_size_; | 111 size_t previous_received_packet_size_; |
| 112 // The largest packet number received. In the case where a packet is | 112 // The largest packet number received. In the case where a packet is |
| 113 // received late (out of order), this value will not be updated. | 113 // received late (out of order), this value will not be updated. |
| 114 QuicPacketNumber largest_received_packet_number_; | 114 QuicPacketNumber largest_received_packet_number_; |
| 115 // The largest packet number which the peer has failed to | |
| 116 // receive, according to the missing packet set in their ack frames. | |
| 117 QuicPacketNumber largest_received_missing_packet_number_; | |
| 118 // Number of times that the current received packet number is | 115 // Number of times that the current received packet number is |
| 119 // smaller than the last received packet number. | 116 // smaller than the last received packet number. |
| 120 size_t num_out_of_order_received_packets_; | 117 size_t num_out_of_order_received_packets_; |
| 121 // Number of times that the current received packet number is | 118 // Number of times that the current received packet number is |
| 122 // smaller than the last received packet number and where the | 119 // smaller than the last received packet number and where the |
| 123 // size of the current packet is larger than the size of the previous | 120 // size of the current packet is larger than the size of the previous |
| 124 // packet. | 121 // packet. |
| 125 size_t num_out_of_order_large_received_packets_; | 122 size_t num_out_of_order_large_received_packets_; |
| 126 // The number of times that OnPacketHeader was called. | 123 // The number of times that OnPacketHeader was called. |
| 127 // If the network replicates packets, then this number may be slightly | 124 // If the network replicates packets, then this number may be slightly |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 // Receives notifications regarding the performance of the underlying socket | 156 // Receives notifications regarding the performance of the underlying socket |
| 160 // for the QUIC connection. May be null. | 157 // for the QUIC connection. May be null. |
| 161 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; | 158 const std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher_; |
| 162 | 159 |
| 163 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 160 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
| 164 }; | 161 }; |
| 165 | 162 |
| 166 } // namespace net | 163 } // namespace net |
| 167 | 164 |
| 168 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 165 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
| OLD | NEW |