| 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 <bitset> | 8 #include <bitset> |
| 9 | 9 |
| 10 #include "net/base/ip_endpoint.h" | 10 #include "net/base/ip_endpoint.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 QuicPacketSequenceNumber largest_received_packet_sequence_number_; | 125 QuicPacketSequenceNumber largest_received_packet_sequence_number_; |
| 126 // The largest packet sequence number which the peer has failed to | 126 // The largest packet sequence number which the peer has failed to |
| 127 // receive, according to the missing packet set in their ack frames. | 127 // receive, according to the missing packet set in their ack frames. |
| 128 QuicPacketSequenceNumber largest_received_missing_packet_sequence_number_; | 128 QuicPacketSequenceNumber largest_received_missing_packet_sequence_number_; |
| 129 // Number of times that the current received packet sequence number is | 129 // Number of times that the current received packet sequence number is |
| 130 // smaller than the last received packet sequence number. | 130 // smaller than the last received packet sequence number. |
| 131 size_t num_out_of_order_received_packets_; | 131 size_t num_out_of_order_received_packets_; |
| 132 // The number of times that OnPacketHeader was called. | 132 // The number of times that OnPacketHeader was called. |
| 133 // If the network replicates packets, then this number may be slightly | 133 // If the network replicates packets, then this number may be slightly |
| 134 // different from the real number of distinct packets received. | 134 // different from the real number of distinct packets received. |
| 135 QuicPacketSequenceNumber num_packets_received_; | 135 QuicPacketCount num_packets_received_; |
| 136 // Number of times a truncated ACK frame was sent. | 136 // Number of times a truncated ACK frame was sent. |
| 137 size_t num_truncated_acks_sent_; | 137 size_t num_truncated_acks_sent_; |
| 138 // Number of times a truncated ACK frame was received. | 138 // Number of times a truncated ACK frame was received. |
| 139 size_t num_truncated_acks_received_; | 139 size_t num_truncated_acks_received_; |
| 140 // The kCADR value provided by the server in ServerHello. | 140 // The kCADR value provided by the server in ServerHello. |
| 141 IPEndPoint local_address_from_shlo_; | 141 IPEndPoint local_address_from_shlo_; |
| 142 // The first local address from which a packet was received. | 142 // The first local address from which a packet was received. |
| 143 IPEndPoint local_address_from_self_; | 143 IPEndPoint local_address_from_self_; |
| 144 // Count of the number of frames received. | 144 // Count of the number of frames received. |
| 145 int num_frames_received_; | 145 int num_frames_received_; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 166 // The available type of connection (WiFi, 3G, etc.) when connection was first | 166 // The available type of connection (WiFi, 3G, etc.) when connection was first |
| 167 // used. | 167 // used. |
| 168 const char* const connection_description_; | 168 const char* const connection_description_; |
| 169 | 169 |
| 170 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); | 170 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 } // namespace net | 173 } // namespace net |
| 174 | 174 |
| 175 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ | 175 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ |
| OLD | NEW |