[ovs-dev] [PATCH 07/16] socket-util: Disable dscp setting on Windows.
Ben Pfaff
blp at nicira.com
Mon Jun 9 22:17:29 UTC 2014
On Fri, May 30, 2014 at 12:06:15PM -0700, Gurucharan Shetty wrote:
> 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 exist in
> Windows. 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>
Why does this compile, if IPV6_TCLASS does not exist on Windows?
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev
mailing list