netlink-protocol: Remove definition of struct sockaddr_nl.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Jul 2014 20:21:35 +0000 (13:21 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Jul 2014 20:21:57 +0000 (13:21 -0700)
commitaa359b5f8b5c2e887a7b7d6434d04c7a04fe6d3d
tree72e346915c8560b1698ba5b9131f89e48a1d0f02
parent560f30990f6ac2c56eb061061b26b44ee2bd4dfd
netlink-protocol: Remove definition of struct sockaddr_nl.

This struct is used only in netlink-socket.c, which is only used on Linux,
which in turn gets the definition from <linux/netlink.h>.  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 adopt Netlink, I have no reason to believe that
they will use the same sockaddr format as Linux.

CC: Saurabh Shah <ssaurabh@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Gurucharan Shetty <gshetty@nicira.com>
lib/netlink-protocol.h