diff options
author | Sairam Venugopal <vsairam@vmware.com> | 2016-07-25 17:04:39 -0700 |
---|---|---|
committer | Gurucharan Shetty <guru@ovn.org> | 2016-07-29 08:37:29 -0700 |
commit | 1f3dd67f336da4a1335de2bebf1b1df2d62a508a (patch) | |
tree | 82adba2c7ec3d19db3bcf4a1731d644a7ec34816 /datapath-windows/ovsext/Netlink | |
parent | 32654528b82a0faebeb250c2680ce2088f6aa74d (diff) | |
download | openvswitch-1f3dd67f336da4a1335de2bebf1b1df2d62a508a.tar.gz |
datapath-windows: Define new multicast conntrack events and netlink protocol
The Hyper-V datapath supports NETLINK_GENERIC and NETLINK_NETFILTER
protocols for netlink communication. Define these two protocols in the
datapath.
Define new Conntrack events (new and delete) and add support for
subscribing to these events. Parse out OVS_NL_ATTR_MCAST_GRP and store it
as part of OVS_EVENT_SUBSCRIBE structure.
Signed-off-by: Sairam Venugopal <vsairam@vmware.com>
Acked-By: Yin Lin <linyi@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Netlink')
-rw-r--r-- | datapath-windows/ovsext/Netlink/NetlinkProto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/Netlink/NetlinkProto.h b/datapath-windows/ovsext/Netlink/NetlinkProto.h index beb14d552..517531199 100644 --- a/datapath-windows/ovsext/Netlink/NetlinkProto.h +++ b/datapath-windows/ovsext/Netlink/NetlinkProto.h @@ -125,4 +125,7 @@ BUILD_ASSERT_DECL(sizeof(NL_ATTR) == 4); #define OVS_HDRLEN NLMSG_ALIGN(sizeof(OVS_HDR)) #define NLA_HDRLEN ((INT) NLA_ALIGN(sizeof(NL_ATTR))) +#define NETLINK_NETFILTER 12 +#define NETLINK_GENERIC 16 + #endif /* NetlinProto.h */ |