Windows: Add support for handling protocol (netlink family)
authorSairam Venugopal <vsairam@vmware.com>
Mon, 11 Jul 2016 21:59:49 +0000 (14:59 -0700)
committerGurucharan Shetty <guru@ovn.org>
Wed, 13 Jul 2016 22:04:52 +0000 (15:04 -0700)
commite70f55edbc47e99432da7c868594d7f9d9589eca
tree8100196ba5ffe31aeaa504d1f58a20a9ef841e99
parent1e25f5caef5c1b6378bfee3f6ed0d1cb04e61e0c
Windows: Add support for handling protocol (netlink family)

Windows datapath currently has no notion of netlink family.
It assumes all netlink messages to belong to NETLINK_GENERIC family.
This patch adds support for handling other protocols if the userspace sends it down to kernel.

This patch introduces a new NETLINK_CMD - OVS_CTRL_CMD_SOCK_PROP to manage
all properties associated with a socket. The properties are passed down as
netlink message attributes. This makes it easier to introduce other
properties in the future.

Signed-off-by: Sairam Venugopal <vsairam@vmware.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
datapath-windows/include/OvsDpInterfaceExt.h
datapath-windows/ovsext/Datapath.c
datapath-windows/ovsext/Datapath.h
lib/netlink-socket.c