diff options
author | Sairam Venugopal <vsairam@vmware.com> | 2016-07-11 14:59:49 -0700 |
---|---|---|
committer | Gurucharan Shetty <guru@ovn.org> | 2016-07-13 15:04:52 -0700 |
commit | e70f55edbc47e99432da7c868594d7f9d9589eca (patch) | |
tree | 8100196ba5ffe31aeaa504d1f58a20a9ef841e99 /datapath-windows/ovsext/Datapath.h | |
parent | 1e25f5caef5c1b6378bfee3f6ed0d1cb04e61e0c (diff) | |
download | openvswitch-e70f55edbc47e99432da7c868594d7f9d9589eca.tar.gz |
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>
Diffstat (limited to 'datapath-windows/ovsext/Datapath.h')
-rw-r--r-- | datapath-windows/ovsext/Datapath.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/Datapath.h b/datapath-windows/ovsext/Datapath.h index 09e233fd3..2b41d82ac 100644 --- a/datapath-windows/ovsext/Datapath.h +++ b/datapath-windows/ovsext/Datapath.h @@ -51,6 +51,7 @@ typedef struct _OVS_OPEN_INSTANCE { PVOID eventQueue; POVS_USER_PACKET_QUEUE packetQueue; UINT32 pid; + UINT32 protocol; /* Refers to NETLINK Family (eg. NETLINK_GENERIC)*/ struct { POVS_MESSAGE ovsMsg; /* OVS message passed during dump start. */ |