net: add rte prefix to ESP structure
[dpdk.git] / lib / librte_ipsec / crypto.h
index 3e9a8f4..f8fbf8d 100644 (file)
@@ -47,7 +47,7 @@ struct aead_gcm_aad {
 } __attribute__((packed));
 
 struct gcm_esph_iv {
-       struct esp_hdr esph;
+       struct rte_esp_hdr esph;
        uint64_t iv;
 } __attribute__((packed));
 
@@ -95,7 +95,7 @@ gen_iv(uint64_t iv[IPSEC_MAX_IV_QWORD], rte_be64_t sqn)
 
 /*
  * Helper routine to copy IV
- * Righ now we support only algorithms with IV length equals 0/8/16 bytes.
+ * Right now we support only algorithms with IV length equals 0/8/16 bytes.
  */
 static inline void
 copy_iv(uint64_t dst[IPSEC_MAX_IV_QWORD],