]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_icmp.h
net: add compat headers without rte prefix
[dpdk.git] / lib / librte_net / rte_icmp.h
index d0309537ed873701254b0ffe47d6b1a5656136b0..3638e148da5fae6677313d9258fc00c07da08267 100644 (file)
 
 #include <stdint.h>
 
+#ifndef RTE_NET_NO_COMPAT
+#include <rte_icmp_compat.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -32,8 +36,8 @@ struct rte_icmp_hdr {
 } __attribute__((__packed__));
 
 /* ICMP packet types */
-#define IP_ICMP_ECHO_REPLY   0
-#define IP_ICMP_ECHO_REQUEST 8
+#define RTE_IP_ICMP_ECHO_REPLY   0
+#define RTE_IP_ICMP_ECHO_REQUEST 8
 
 #ifdef __cplusplus
 }