net: add compat headers without rte prefix
[dpdk.git] / lib / librte_net / rte_sctp.h
index bfb7165..6567548 100644 (file)
 #ifndef _RTE_SCTP_H_
 #define _RTE_SCTP_H_
 
+#ifndef RTE_NET_NO_COMPAT
+#include <rte_sctp_compat.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -23,7 +27,7 @@ extern "C" {
 /**
  * SCTP Header
  */
-struct sctp_hdr {
+struct rte_sctp_hdr {
        uint16_t src_port; /**< Source port. */
        uint16_t dst_port; /**< Destin port. */
        uint32_t tag;      /**< Validation tag. */