]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_esp.h
net: add compat headers without rte prefix
[dpdk.git] / lib / librte_net / rte_esp.h
index f77ec2eb26f5ba20ebcfb58df65a7723a3342d08..509eb60b59e5e7be594d7cb8b0a6226704318951 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__));