Re: [ovs-dev] [PATCH 4/5] Changes needed to netlink-socket for MSVC

2014-07-23 Thread Alin Serdean
: Re: [ovs-dev] [PATCH 4/5] Changes needed to netlink-socket for MSVC On Thu, Jul 17, 2014 at 07:34:51PM +, Alin Serdean wrote: > Add the structure sockaddr_nl to netlink-socket.c when compiling under > MSVC. > > Add two functions set_sock_pid_in_kernel and portid_next. This will

Re: [ovs-dev] [PATCH 4/5] Changes needed to netlink-socket for MSVC

2014-07-22 Thread Ben Pfaff
On Thu, Jul 17, 2014 at 07:34:51PM +, Alin Serdean wrote: > Add the structure sockaddr_nl to netlink-socket.c when compiling under > MSVC. > > Add two functions set_sock_pid_in_kernel and portid_next. This will allow > the channel identification for the kernel extension to send back messages.

[ovs-dev] [PATCH 4/5] Changes needed to netlink-socket for MSVC

2014-07-17 Thread Alin Serdean
Add the structure sockaddr_nl to netlink-socket.c when compiling under MSVC. Add two functions set_sock_pid_in_kernel and portid_next. This will allow the channel identification for the kernel extension to send back messages. Replace send with WriteFile equivalent and ignore nl_sock_drain for the