Re: [ovs-dev] [PATCH 1/2] socket-util: Fix dscp error check for Windows.

2014-03-17 Thread Ben Pfaff
On Mon, Mar 17, 2014 at 02:33:34PM -0700, Gurucharan Shetty wrote: > On Mon, Mar 17, 2014 at 2:08 PM, Ben Pfaff wrote: > > On Mon, Mar 17, 2014 at 01:13:31PM -0700, Gurucharan Shetty wrote: > >> Signed-off-by: Gurucharan Shetty > > > > Does Windows have an ENOPROTOOPT? If not, can we #define ENO

Re: [ovs-dev] [PATCH 1/2] socket-util: Fix dscp error check for Windows.

2014-03-17 Thread Gurucharan Shetty
On Mon, Mar 17, 2014 at 2:08 PM, Ben Pfaff wrote: > On Mon, Mar 17, 2014 at 01:13:31PM -0700, Gurucharan Shetty wrote: >> Signed-off-by: Gurucharan Shetty > > Does Windows have an ENOPROTOOPT? If not, can we #define ENOPROTOOPT > WSAENOPROTOOPT? Windows has both ENOPROTOOPT (errno.h) and WSAENOP

Re: [ovs-dev] [PATCH 1/2] socket-util: Fix dscp error check for Windows.

2014-03-17 Thread Ben Pfaff
On Mon, Mar 17, 2014 at 01:13:31PM -0700, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty Does Windows have an ENOPROTOOPT? If not, can we #define ENOPROTOOPT WSAENOPROTOOPT? ___ dev mailing list dev@openvswitch.org http://openvswitch.org/m

[ovs-dev] [PATCH 1/2] socket-util: Fix dscp error check for Windows.

2014-03-17 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- lib/socket-util.c |8 1 file changed, 8 insertions(+) diff --git a/lib/socket-util.c b/lib/socket-util.c index 4c79cd6..daf406f 100644 --- a/lib/socket-util.c +++ b/lib/socket-util.c @@ -120,14 +120,22 @@ set_dscp(int fd, uint8_t dscp) succe