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/udp/udp_socket_win.h" | 5 #include "net/udp/udp_socket_win.h" |
6 | 6 |
7 #include <mstcpip.h> | 7 #include <mstcpip.h> |
8 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/metrics/stats_counters.h" | 13 #include "base/metrics/stats_counters.h" |
14 #include "base/posix/eintr_wrapper.h" | |
15 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
16 #include "net/base/io_buffer.h" | 15 #include "net/base/io_buffer.h" |
17 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
18 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
19 #include "net/base/net_log.h" | 18 #include "net/base/net_log.h" |
20 #include "net/base/net_util.h" | 19 #include "net/base/net_util.h" |
21 #include "net/base/winsock_init.h" | 20 #include "net/base/winsock_init.h" |
22 #include "net/base/winsock_util.h" | 21 #include "net/base/winsock_util.h" |
23 #include "net/socket/socket_descriptor.h" | 22 #include "net/socket/socket_descriptor.h" |
24 #include "net/udp/udp_net_log_parameters.h" | 23 #include "net/udp/udp_net_log_parameters.h" |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 return OK; | 752 return OK; |
754 } | 753 } |
755 | 754 |
756 // TODO(hubbe): Implement differentiated services for windows. | 755 // TODO(hubbe): Implement differentiated services for windows. |
757 // Note: setsockopt(IP_TOS) does not work on windows XP and later. | 756 // Note: setsockopt(IP_TOS) does not work on windows XP and later. |
758 int UDPSocketWin::SetDiffServCodePoint(DiffServCodePoint dscp) { | 757 int UDPSocketWin::SetDiffServCodePoint(DiffServCodePoint dscp) { |
759 return ERR_NOT_IMPLEMENTED; | 758 return ERR_NOT_IMPLEMENTED; |
760 } | 759 } |
761 | 760 |
762 } // namespace net | 761 } // namespace net |
OLD | NEW |