]> git.proxmox.com Git - mirror_ovs.git/commitdiff
datapath-windows: add open flow defines to Types.h
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Tue, 20 Jun 2017 14:59:36 +0000 (14:59 +0000)
committerGurucharan Shetty <guru@ovn.org>
Tue, 20 Jun 2017 17:42:27 +0000 (10:42 -0700)
Commit https://github.com/openvswitch/ovs/commit/81765c00a13882acaaf652df23d7fa76fc3ad743
introduced openflow types to the include interface.

The Windows datapath needs to be aware of the new types included in the
common interface.

Fixes broken build on Windows.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
datapath-windows/ovsext/Types.h

index 022c65bd9eb6e4fab84c693b3592d38945efff9f..4da335a119074ea723735a8002f2af98a3b8388b 100644 (file)
@@ -42,6 +42,10 @@ typedef UINT16 BE16;
 typedef UINT32 BE32;
 typedef UINT64 BE64;
 
+typedef uint32_t ofp_port_t;
+typedef uint32_t odp_port_t;
+typedef uint32_t ofp11_port_t;
+
 #define ETH_ALEN 6
 
 #define SIZE_MAX MAXUINT32