[ovs-dev] [PATCH 2/2] datpath-windows: include/OvsPub.h => ovsext/DpInternal.h

Nithin Raju nithin at vmware.com
Wed Nov 19 17:14:33 UTC 2014


OvsPub.h is not longer the interface file that published the interface
of the kernel datapath to userspace. Nevertheless it is still being used
internal to the kernel datapath.

We rename the file for this reason.

Signed-off-by: Nithin Raju <nithin at vmware.com>
---
 datapath-windows/automake.mk                       |    2 +-
 .../{include/OvsPub.h => ovsext/DpInternal.h}      |    6 +++---
 datapath-windows/ovsext/precomp.h                  |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename datapath-windows/{include/OvsPub.h => ovsext/DpInternal.h} (99%)

diff --git a/datapath-windows/automake.mk b/datapath-windows/automake.mk
index 47d9c85..9324b3c 100644
--- a/datapath-windows/automake.mk
+++ b/datapath-windows/automake.mk
@@ -4,13 +4,13 @@ EXTRA_DIST += \
 	datapath-windows/Package/package.VcxProj \
 	datapath-windows/Package/package.VcxProj.user \
 	datapath-windows/include/OvsDpInterfaceExt.h \
-	datapath-windows/include/OvsPub.h\
 	datapath-windows/misc/install.cmd \
 	datapath-windows/misc/uninstall.cmd \
 	datapath-windows/misc/OVS.psm1 \
 	datapath-windows/ovsext.sln \
 	datapath-windows/ovsext/Datapath.c \
 	datapath-windows/ovsext/Datapath.h \
+	datapath-windows/ovsext/DpInternal.h\
 	datapath-windows/ovsext/Actions.c \
 	datapath-windows/ovsext/Atomic.h \
 	datapath-windows/ovsext/BufferMgmt.c \
diff --git a/datapath-windows/include/OvsPub.h b/datapath-windows/ovsext/DpInternal.h
similarity index 99%
rename from datapath-windows/include/OvsPub.h
rename to datapath-windows/ovsext/DpInternal.h
index 1e7ab6a..89e9b6a 100644
--- a/datapath-windows/include/OvsPub.h
+++ b/datapath-windows/ovsext/DpInternal.h
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __OVS_PUB_H_
-#define __OVS_PUB_H_ 1
+#ifndef __DP_INTERNAL_H_
+#define __DP_INTERNAL_H_ 1
 
 #include <netioapi.h>
 #define IFNAMSIZ IF_NAMESIZE
@@ -472,4 +472,4 @@ typedef struct _OVS_EVENT_STATUS {
 
 #pragma pack(pop)
 
-#endif /* __OVS_PUB_H_ */
+#endif /* __DP_INTERNAL_H_ */
diff --git a/datapath-windows/ovsext/precomp.h b/datapath-windows/ovsext/precomp.h
index 99e1d08..aaa3d51 100644
--- a/datapath-windows/ovsext/precomp.h
+++ b/datapath-windows/ovsext/precomp.h
@@ -30,4 +30,4 @@
 #include "Netlink/Netlink.h"
 #include "Netlink/NetlinkProto.h"
 #include "..\include\OvsDpInterfaceExt.h"
-#include "..\include\OvsPub.h"
+#include "DpInternal.h"
-- 
1.7.4.1




More information about the dev mailing list