[ovs-git] Open vSwitch: socket-util: Disable dscp setting on Windows. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 11 21:04:27 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  5349904d1b80152a9299022b6d529154736f20ce (commit)
      from  a532e683cf9b97e55d1959f6aeb562bfd9429127 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5349904d1b80152a9299022b6d529154736f20ce
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5349904d1b80152a9299022b6d529154736f20ce
Author: Gurucharan Shetty <gshetty at nicira.com>
		
socket-util: Disable dscp setting on Windows.
		
According to msdn documentation, one is discouraged from using
IP_TOS for ipv4 sockets (it apparently does not actually set
anything). Also, IPV6_TCLASS does not work in
Windows (it always returns an error and also is undocumented).
Looks like Microsoft recommends QoS2 APIs to achieve
the same. Till we add those API calls, simply return on Windows.

(Noticed while running unit tests for ipv6. set_dscp would fail.)

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/socket-util.c |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list