diff options
author | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 00:34:41 +0000 |
---|---|---|
committer | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 00:34:41 +0000 |
commit | a8a442b37af870c13cf4d68f5e1a63b7764f2f1e (patch) | |
tree | 5ab2eca565092e6a5feb721b8c037a5866f1f577 /net/udp/udp_socket_win.cc | |
parent | 86ff11ca424f22a71738426abb6244cafca45e7d (diff) | |
download | chromium_src-a8a442b37af870c13cf4d68f5e1a63b7764f2f1e.zip chromium_src-a8a442b37af870c13cf4d68f5e1a63b7764f2f1e.tar.gz chromium_src-a8a442b37af870c13cf4d68f5e1a63b7764f2f1e.tar.bz2 |
Implement support for p2p socket UDP packages to set the Differntiated Services Code Point for each package. Will be used by webrtc to hopefully improve performance. (See bug for how we will test this.)
BUG=277022
Review URL: https://codereview.chromium.org/22381012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/udp/udp_socket_win.cc')
-rw-r--r-- | net/udp/udp_socket_win.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc index f9ce679..c9f30a7 100644 --- a/net/udp/udp_socket_win.cc +++ b/net/udp/udp_socket_win.cc @@ -753,4 +753,10 @@ int UDPSocketWin::SetMulticastLoopbackMode(bool loopback) { return OK; } +// TODO(hubbe): Implement differentiated services for windows. +// Note: setsockopt(IP_TOS) does not work on windows XP and later. +int UDPSocketWin::SetDiffServCodePoint(DiffServCodePoint dscp) { + return ERR_NOT_IMPLEMENTED; +} + } // namespace net |