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 // Handles packets for connection_ids in time wait state by discarding the | 5 // Handles packets for connection_ids in time wait state by discarding the |
6 // packet and sending the clients a public reset packet with exponential | 6 // packet and sending the clients a public reset packet with exponential |
7 // backoff. | 7 // backoff. |
8 | 8 |
9 #ifndef NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 9 #ifndef NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
10 #define NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 10 #define NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
11 | 11 |
| 12 #include <stddef.h> |
| 13 |
12 #include <deque> | 14 #include <deque> |
13 | 15 |
14 #include "base/basictypes.h" | 16 #include "base/macros.h" |
15 #include "net/base/linked_hash_map.h" | 17 #include "net/base/linked_hash_map.h" |
16 #include "net/quic/quic_blocked_writer_interface.h" | 18 #include "net/quic/quic_blocked_writer_interface.h" |
17 #include "net/quic/quic_connection.h" | 19 #include "net/quic/quic_connection.h" |
18 #include "net/quic/quic_framer.h" | 20 #include "net/quic/quic_framer.h" |
19 #include "net/quic/quic_packet_writer.h" | 21 #include "net/quic/quic_packet_writer.h" |
20 #include "net/quic/quic_protocol.h" | 22 #include "net/quic/quic_protocol.h" |
21 | 23 |
22 namespace net { | 24 namespace net { |
23 namespace tools { | 25 namespace tools { |
24 | 26 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 // Interface that manages blocked writers. | 184 // Interface that manages blocked writers. |
183 QuicServerSessionVisitor* visitor_; | 185 QuicServerSessionVisitor* visitor_; |
184 | 186 |
185 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); | 187 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); |
186 }; | 188 }; |
187 | 189 |
188 } // namespace tools | 190 } // namespace tools |
189 } // namespace net | 191 } // namespace net |
190 | 192 |
191 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 193 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
OLD | NEW |