summaryrefslogtreecommitdiff
path: root/datapath-windows/automake.mk
diff options
context:
space:
mode:
authorNithin Raju <nithin@vmware.com>2014-08-19 13:51:51 -0700
committerBen Pfaff <blp@nicira.com>2014-08-19 14:21:21 -0700
commit107331906b32c606eddd3e0fc42b42d0a3bc7372 (patch)
treebaf4034ab95d845dae22a6149c116fca1a166317 /datapath-windows/automake.mk
parentf7491dce43e51c1e9e000c16dae4f86154f28d8d (diff)
downloadopenvswitch-107331906b32c606eddd3e0fc42b42d0a3bc7372.tar.gz
Add extentions to the standard datapath interface
The datapath interface defined in odp-netlink.h needs some extensions that are platform dependent. Some examples are the name of the communication device on Windows and a set of commands that are specific to Windows. In this change we define a datapath-windows/include/OvsDpInterfaceExt.h to include any platform specific interface extensions. OvsDpInterfaceExt.h is in turn included in odp-netlink.h ONLY for _WIN32. This approach was chosen to avoid including OvsDpInterfaceExt.h directly although the latter approach is as good as the former. Also, we define three ioctls in OvsDpInterfaceExt.h: read: provides an output buffer (mimics a recv) write: provides an input buffer (mimics a send) transact: provides an input and optionally an output buffer. (mimics a send followed by recv) Signed-off-by: Nithin Raju <nithin@vmware.com> Co-Authored-by: Ben Pfaff <blp@nicira.com> Acked-by: Alin Serdean <aserdean@cloudbasesolutions.com> Acked-by: Ankur Sharma <ankursharma@vmware.com> Acked-by: Saurabh Shah <ssaurabh@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/automake.mk')
-rw-r--r--datapath-windows/automake.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath-windows/automake.mk b/datapath-windows/automake.mk
index 6131de00d..3fd669278 100644
--- a/datapath-windows/automake.mk
+++ b/datapath-windows/automake.mk
@@ -3,6 +3,7 @@ EXTRA_DIST += \
datapath-windows/DESIGN \
datapath-windows/Package/package.VcxProj \
datapath-windows/Package/package.VcxProj.user \
+ datapath-windows/include/OvsDpInterfaceExt.h \
datapath-windows/include/OvsNetlink.h \
datapath-windows/include/OvsPub.h \
datapath-windows/misc/install.cmd \