Chromium Code Reviews| Index: net/udp/udp_socket_win.h |
| diff --git a/net/udp/udp_socket_win.h b/net/udp/udp_socket_win.h |
| index 807b403034e0ee4be53882ceb3142ea8ef7c2c70..6a83bdeae6b346f59b1f2f74c4fce1ec9cd96091 100644 |
| --- a/net/udp/udp_socket_win.h |
| +++ b/net/udp/udp_socket_win.h |
| @@ -151,6 +151,10 @@ class NET_EXPORT UDPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| // other applications on the same host. See MSDN: http://goo.gl/6vqbj |
| int SetMulticastLoopbackMode(bool loopback); |
| + // Set the differentiated services flags on outgoing packets. May not |
| + // do anything on some platforms. |
| + int SetTos(DiffServCodePoint dscp); |
| + |
| private: |
| enum SocketOptions { |
| SOCKET_OPTION_REUSE_ADDRESS = 1 << 0, |
| @@ -207,6 +211,9 @@ class NET_EXPORT UDPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| // Cannot be used after Bind(). |
| int multicast_time_to_live_; |
| + // Differentiated Services Code Point. |
|
cbentzel
2013/08/21 22:00:20
Not being used.
hubbe
2013/08/22 23:41:02
Done.
|
| + DiffServCodePoint dscp_; |
| + |
| // How to do source port binding, used only when UDPSocket is part of |
| // UDPClientSocket, since UDPServerSocket provides Bind. |
| DatagramSocket::BindType bind_type_; |