[ovs-git] Open vSwitch: netlink-protocol: Remove definition of struct sockaddr_nl. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jul 10 21:04:28 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  aa359b5f8b5c2e887a7b7d6434d04c7a04fe6d3d (commit)
      from  560f30990f6ac2c56eb061061b26b44ee2bd4dfd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit aa359b5f8b5c2e887a7b7d6434d04c7a04fe6d3d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=aa359b5f8b5c2e887a7b7d6434d04c7a04fe6d3d
Author: Ben Pfaff <blp at nicira.com>
		
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 at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Gurucharan Shetty <gshetty at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/netlink-protocol.h |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list