diff options
author | Nithin Raju <nithin@vmware.com> | 2014-08-19 13:51:51 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-08-19 14:21:21 -0700 |
commit | 107331906b32c606eddd3e0fc42b42d0a3bc7372 (patch) | |
tree | baf4034ab95d845dae22a6149c116fca1a166317 /datapath-windows/automake.mk | |
parent | f7491dce43e51c1e9e000c16dae4f86154f28d8d (diff) | |
download | openvswitch-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.mk | 1 |
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 \ |