X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ipsec%2Fcrypto.h;h=3d03034590caf81de11be00c50e401e492b85e31;hb=5ea8356ec86bd9c4d5bd52588522b9911f18836d;hp=45d4ef7bf306d1aa039dd19d8380372d8c3c3415;hpb=8bd5f07c7a1ac0c5b8d16758efc3ada3e16b0adc;p=dpdk.git diff --git a/lib/librte_ipsec/crypto.h b/lib/librte_ipsec/crypto.h index 45d4ef7bf3..3d03034590 100644 --- a/lib/librte_ipsec/crypto.h +++ b/lib/librte_ipsec/crypto.h @@ -19,7 +19,7 @@ struct aesctr_cnt_blk { uint32_t nonce; uint64_t iv; uint32_t cnt; -} __attribute__((packed)); +} __rte_packed; /* * AES-GCM devices have some specific requirements for IV and AAD formats. @@ -30,7 +30,7 @@ struct aead_gcm_iv { uint32_t salt; uint64_t iv; uint32_t cnt; -} __attribute__((packed)); +} __rte_packed; struct aead_gcm_aad { uint32_t spi; @@ -44,12 +44,12 @@ struct aead_gcm_aad { uint64_t u64; } sqn; uint32_t align0; /* align to 16B boundary */ -} __attribute__((packed)); +} __rte_packed; struct gcm_esph_iv { - struct esp_hdr esph; + struct rte_esp_hdr esph; uint64_t iv; -} __attribute__((packed)); +} __rte_packed; static inline void aes_ctr_cnt_blk_fill(struct aesctr_cnt_blk *ctr, uint64_t iv, uint32_t nonce)