Chromium Code Reviews| Index: net/udp/udp_socket_libevent.h |
| diff --git a/net/udp/udp_socket_libevent.h b/net/udp/udp_socket_libevent.h |
| index 8f68a9b57a90695a87101eca856448198daedffb..39f65e3119ea5c8884449912ca054ccab4b576cc 100644 |
| --- a/net/udp/udp_socket_libevent.h |
| +++ b/net/udp/udp_socket_libevent.h |
| @@ -21,7 +21,7 @@ namespace net { |
| class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe { |
| public: |
| - UDPSocketLibevent(DatagramSocket::BindType bind_type, |
| + UDPSocketLibevent(DatagramSocket::BindType bind_type, |
|
cbentzel
2013/08/21 22:00:20
Nit: put a space back in.
hubbe
2013/08/22 23:41:02
Done.
|
| const RandIntCallback& rand_int_cb, |
| net::NetLog* net_log, |
| const net::NetLog::Source& source); |
| @@ -151,6 +151,10 @@ class NET_EXPORT UDPSocketLibevent : 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); |
|
cbentzel
2013/08/21 22:00:20
Nit: SetDiffServeCodePoint
hubbe
2013/08/22 23:41:02
Done.
|
| + |
| private: |
| static const int kInvalidSocket = -1; |
| @@ -237,6 +241,9 @@ class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe { |
| // Cannot be used after Bind(). |
| int multicast_time_to_live_; |
| + // Differentiated Services Code Point. |
|
cbentzel
2013/08/21 22:00:20
This isn't being used.
hubbe
2013/08/22 23:41:02
Oops, fixed.
|
| + DiffServCodePoint dscp_; |
| + |
| // How to do source port binding, used only when UDPSocket is part of |
| // UDPClientSocket, since UDPServerSocket provides Bind. |
| DatagramSocket::BindType bind_type_; |