Re: [ovs-dev] [PATCH] netlink-protocol: Remove definition of struct sockaddr_nl.

2014-07-10 Thread Ben Pfaff
On Thu, Jul 10, 2014 at 01:15:30PM -0700, Gurucharan Shetty wrote: > On Thu, Jul 10, 2014 at 11:13 AM, Ben Pfaff wrote: > > This struct is used only in netlink-socket.c, which is only used on Linux, > > which in turn gets the definition from . On Windows the > > definition actually causes a small

Re: [ovs-dev] [PATCH] netlink-protocol: Remove definition of struct sockaddr_nl.

2014-07-10 Thread Gurucharan Shetty
On Thu, Jul 10, 2014 at 11:13 AM, Ben Pfaff wrote: > This struct is used only in netlink-socket.c, which is only used on Linux, > which in turn gets the definition from . On Windows the > definition actually causes a small amount of trouble because Windows does > not define sa_family_t (despite P

[ovs-dev] [PATCH] netlink-protocol: Remove definition of struct sockaddr_nl.

2014-07-10 Thread Ben Pfaff
This struct is used only in netlink-socket.c, which is only used on Linux, which in turn gets the definition from . On Windows the definition actually causes a small amount of trouble because Windows does not define sa_family_t (despite POSIX), so it's better to remove it. Even if other platforms