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 guids in time wait state by discarding the packet and | 5 // Handles packets for guids in time wait state by discarding the packet and |
6 // sending the clients a public reset packet with exponential backoff. | 6 // sending the clients a public reset packet with exponential backoff. |
7 | 7 |
8 #ifndef NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
9 #define NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 9 #define NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
10 | 10 |
11 #include <deque> | 11 #include <deque> |
12 | 12 |
13 #include "base/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
14 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
15 #include "net/quic/quic_blocked_writer_interface.h" | 15 #include "net/quic/quic_blocked_writer_interface.h" |
16 #include "net/quic/quic_framer.h" | 16 #include "net/quic/quic_framer.h" |
17 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/quic_protocol.h" |
18 #include "net/tools/flip_server/epoll_server.h" | 18 #include "net/tools/flip_server/epoll_server.h" |
19 #include "net/tools/quic/quic_epoll_clock.h" | 19 #include "net/tools/quic/quic_epoll_clock.h" |
20 #include "net/tools/quic/quic_packet_writer.h" | 20 #include "net/tools/quic/quic_packet_writer.h" |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 namespace tools { | 23 namespace tools { |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // on sendmsg. | 171 // on sendmsg. |
172 bool is_write_blocked_; | 172 bool is_write_blocked_; |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); | 174 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); |
175 }; | 175 }; |
176 | 176 |
177 } // namespace tools | 177 } // namespace tools |
178 } // namespace net | 178 } // namespace net |
179 | 179 |
180 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 180 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
OLD | NEW |