summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/prox_lua_types.h
diff options
context:
space:
mode:
authorXavier Simonart <simonartxavier@gmail.com>2021-03-29 11:45:47 +0200
committerXavier Simonart <simonartxavier@gmail.com>2021-03-29 11:56:44 +0200
commit6d82c12cc7876aef8f1a6f98e5897d96a1e991c8 (patch)
treee0edcc9acd7b12f385a113015350855619abe99d /VNFs/DPPD-PROX/prox_lua_types.h
parent91c54d4d46d64cbba9d5573609497a211dbbc479 (diff)
Minor update to fix compilation issues on recent gcc and dpdk
Fixes compilation issues seen on gcc 9.3.0 on dpdk 20.05. Signed-off-by: Xavier Simonart <simonartxavier@gmail.com> Change-Id: Ib7989c1bac66e82551165ab49e06941ebc772347
Diffstat (limited to 'VNFs/DPPD-PROX/prox_lua_types.h')
-rw-r--r--VNFs/DPPD-PROX/prox_lua_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/prox_lua_types.h b/VNFs/DPPD-PROX/prox_lua_types.h
index ce6bd9d2..83cc73cd 100644
--- a/VNFs/DPPD-PROX/prox_lua_types.h
+++ b/VNFs/DPPD-PROX/prox_lua_types.h
@@ -73,7 +73,7 @@ struct ipv6_tun_binding_entry {
prox_rte_ether_addr next_hop_mac; // mac addr of next hop towards lwB4
uint32_t public_ipv4; // Public IPv4 address
uint16_t public_port; // Public base port (together with port mask, defines the Port Set)
-} __attribute__((__packed__));
+} __attribute__((__packed__)) __attribute__((__aligned__(2)));
struct ipv6_tun_binding_table {
uint32_t num_binding_entries;