From 72641c1397d0796847e04d111af9fa5c0f643c8a Mon Sep 17 00:00:00 2001 From: Sylvain Baubeau Date: Tue, 11 Dec 2018 12:06:10 +0100 Subject: [PATCH] Align of_hello_elem_versionbitmap on a 8 bytes boundary --- openflow_input/standard-1.3 | 2 +- openflow_input/standard-1.4 | 2 +- openflow_input/standard-1.5 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openflow_input/standard-1.3 b/openflow_input/standard-1.3 index 061f9ce6d..67ae21b68 100644 --- a/openflow_input/standard-1.3 +++ b/openflow_input/standard-1.3 @@ -597,7 +597,7 @@ struct of_hello_elem { uint16_t length; }; -struct of_hello_elem_versionbitmap : of_hello_elem { +struct of_hello_elem_versionbitmap(align=8) : of_hello_elem { uint16_t type == 1; uint16_t length; list(of_uint32_t) bitmaps; diff --git a/openflow_input/standard-1.4 b/openflow_input/standard-1.4 index 51a1a1906..f33c0819c 100644 --- a/openflow_input/standard-1.4 +++ b/openflow_input/standard-1.4 @@ -727,7 +727,7 @@ struct of_hello_elem { uint16_t length; }; -struct of_hello_elem_versionbitmap : of_hello_elem { +struct of_hello_elem_versionbitmap(align=8) : of_hello_elem { uint16_t type == 1; uint16_t length; list(of_uint32_t) bitmaps; diff --git a/openflow_input/standard-1.5 b/openflow_input/standard-1.5 index a875c5ad7..a4bbf6a32 100644 --- a/openflow_input/standard-1.5 +++ b/openflow_input/standard-1.5 @@ -2917,7 +2917,7 @@ struct of_hello_elem { }; /* Version bitmap Hello Element */ -struct of_hello_elem_versionbitmap : of_hello_elem { +struct of_hello_elem_versionbitmap(align=8) : of_hello_elem { uint16_t type == 1; uint16_t length; list(of_uint32_t) bitmaps;