net: add compat headers without rte prefix
[dpdk.git] / lib / librte_net / rte_esp.h
index f77ec2e..509eb60 100644 (file)
 
 #include <stdint.h>
 
+#ifndef RTE_NET_NO_COMPAT
+#include <rte_esp_compat.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -20,7 +24,7 @@ extern "C" {
 /**
  * ESP Header
  */
-struct esp_hdr {
+struct rte_esp_hdr {
        rte_be32_t spi;  /**< Security Parameters Index */
        rte_be32_t seq;  /**< packet sequence number */
 } __attribute__((__packed__));