diff options
author | Nithin Raju <nithin@vmware.com> | 2014-08-26 20:17:02 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-08-27 08:07:42 -0700 |
commit | bbb5e7e2b6c356b0be83ce0e80739b7e56fb3612 (patch) | |
tree | 08a3318aa754a202e4cad8f60b04ee626d5442ad /datapath-windows/include | |
parent | 0959de7db0c6813aa99504891c814f62e8f6e083 (diff) | |
download | openvswitch-bbb5e7e2b6c356b0be83ce0e80739b7e56fb3612.tar.gz |
datapath-windows: define mcgroup IDs for VPORT and other families
dpif-linux.c makes a nl_lookup_genl_mcgroup(OVS_VPORT_FAMILY) that is not
implemented yet on Windows yet. Multicast group is used currently to
subscribe to events related to VPORTs. Whether the exact same mechanism
would be used is unclear yet.
In the interim, we can implement code to support nl_lookup_genl_mcgroup().
and make progress with the other simpler commands.
In this patch, we define a ID for the VPORT MC group and use it. The IDs for
other families were also defined, but without usage, were seen as unclear.
Hence we define only the VPORT group.
Signed-off-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/include')
-rw-r--r-- | datapath-windows/include/OvsDpInterfaceExt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/datapath-windows/include/OvsDpInterfaceExt.h b/datapath-windows/include/OvsDpInterfaceExt.h index dd3451256..46c3b699c 100644 --- a/datapath-windows/include/OvsDpInterfaceExt.h +++ b/datapath-windows/include/OvsDpInterfaceExt.h @@ -54,6 +54,10 @@ #define OVS_WIN_NL_VPORT_FAMILY_ID 4 #define OVS_WIN_NL_FLOW_FAMILY_ID 5 +#define OVS_WIN_NL_INVALID_MCGRP_ID 0 +#define OVS_WIN_NL_MCGRP_START_ID 100 +#define OVS_WIN_NL_VPORT_MCGRP_ID (OVS_WIN_NL_MCGRP_START_ID + 1) + /* * Define a family of netlink command specific to Windows. This is part of the * extensions. |