examples/ipsec-secgw: support 192/256 AES key sizes
[dpdk.git] / examples / ipsec-secgw / ipsec.h
index f8f29f9..2fc60ff 100644 (file)
@@ -72,7 +72,7 @@ struct ip_addr {
        } ip;
 };
 
-#define MAX_KEY_SIZE           32
+#define MAX_KEY_SIZE           36
 
 /*
  * application wide SA parameters
@@ -255,7 +255,7 @@ struct cnt_blk {
        uint32_t salt;
        uint64_t iv;
        uint32_t cnt;
-} __attribute__((packed));
+} __rte_packed;
 
 /* Socket ctx */
 extern struct socket_ctx socket_ctx[NB_SOCKETS];