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 #include "net/tools/quic/quic_dispatcher.h" | 5 #include "net/tools/quic/quic_dispatcher.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 | 8 |
9 #include "base/debug/stack_trace.h" | 9 #include "base/debug/stack_trace.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
12 #include "net/quic/quic_blocked_writer_interface.h" | 12 #include "net/quic/quic_blocked_writer_interface.h" |
13 #include "net/quic/quic_flags.h" | 13 #include "net/quic/quic_flags.h" |
14 #include "net/quic/quic_utils.h" | 14 #include "net/quic/quic_utils.h" |
| 15 #include "net/tools/epoll_server/epoll_server.h" |
15 #include "net/tools/quic/quic_default_packet_writer.h" | 16 #include "net/tools/quic/quic_default_packet_writer.h" |
16 #include "net/tools/quic/quic_epoll_connection_helper.h" | 17 #include "net/tools/quic/quic_epoll_connection_helper.h" |
17 #include "net/tools/quic/quic_socket_utils.h" | 18 #include "net/tools/quic/quic_socket_utils.h" |
18 #include "net/tools/quic/quic_time_wait_list_manager.h" | 19 #include "net/tools/quic/quic_time_wait_list_manager.h" |
19 | 20 |
20 namespace net { | 21 namespace net { |
21 | 22 |
22 namespace tools { | 23 namespace tools { |
23 | 24 |
24 using base::StringPiece; | 25 using base::StringPiece; |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 framer_.set_version(time_wait_list_manager_->GetQuicVersionFromConnectionId( | 434 framer_.set_version(time_wait_list_manager_->GetQuicVersionFromConnectionId( |
434 header.connection_id)); | 435 header.connection_id)); |
435 | 436 |
436 // Continue parsing the packet to extract the sequence number. Then | 437 // Continue parsing the packet to extract the sequence number. Then |
437 // send it to the time wait manager in OnUnathenticatedHeader. | 438 // send it to the time wait manager in OnUnathenticatedHeader. |
438 return true; | 439 return true; |
439 } | 440 } |
440 | 441 |
441 } // namespace tools | 442 } // namespace tools |
442 } // namespace net | 443 } // namespace net |
OLD | NEW |