[ovs-dev] [PATCH] datapath-windows: add open flow defines to Types.h

Sairam Venugopal vsairam at vmware.com
Tue Jun 20 17:39:57 UTC 2017


Acked-by: Sairam Venugopal <vsairam at vmware.com>





On 6/20/17, 7:59 AM, "ovs-dev-bounces at openvswitch.org on behalf of Alin Serdean" <ovs-dev-bounces at openvswitch.org on behalf of aserdean at cloudbasesolutions.com> wrote:

>Commit https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openvswitch_ovs_commit_81765c00a13882acaaf652df23d7fa76fc3ad743&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=Z6vowHUOjP5ysP_g372c49Nqc1vEKqHKNBkR5Q5Z7uo&m=FwVAgiHCHUQ1_ADPYLo1PW-5yRYdrYY-HfoyGFNHsqE&s=HGRjCYv0jqlMIueML9Dg5QDWcQ2OqI86XoKaz_WfBNM&e= 
>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 at cloudbasesolutions.com>
>---
> datapath-windows/ovsext/Types.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
>diff --git a/datapath-windows/ovsext/Types.h b/datapath-windows/ovsext/Types.h
>index 022c65b..4da335a 100644
>--- a/datapath-windows/ovsext/Types.h
>+++ b/datapath-windows/ovsext/Types.h
>@@ -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
>-- 
>2.10.2.windows.1
>_______________________________________________
>dev mailing list
>dev at openvswitch.org
>https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=Z6vowHUOjP5ysP_g372c49Nqc1vEKqHKNBkR5Q5Z7uo&m=FwVAgiHCHUQ1_ADPYLo1PW-5yRYdrYY-HfoyGFNHsqE&s=R-wCzL3qf_xeTG-HGN_-c4PFaSnylgtjlbAsU18VvEs&e= 


More information about the dev mailing list