@@ -19,18 +19,18 @@ extern "C" {
#endif
#include <odp_buffer.h>
-
+#include <plat/odp_packet.h>
/**
* ODP packet descriptor
*/
-typedef uint32_t odp_packet_t;
+typedef plat_odp_packet_t odp_packet_t;
/** Invalid packet */
-#define ODP_PACKET_INVALID ODP_BUFFER_INVALID
+#define ODP_PACKET_INVALID PLAT_ODP_PACKET_INVALID
/** Invalid offset */
-#define ODP_PACKET_OFFSET_INVALID ((size_t)-1)
+#define ODP_PACKET_OFFSET_INVALID PLAT_ODP_PACKET_OFFSET_INVALID
/**
new file mode 100644
@@ -0,0 +1,32 @@
+/* Copyright (c) 2013, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+
+/**
+ * @file
+ *
+ * ODP packet descriptor
+ */
+
+#ifndef ODP_PACKET_H_
+#error This file should be included only into corresponding top level header
+#else
+
+#include <odp_buffer.h>
+
+/**
+ * ODP packet descriptor
+ */
+typedef uint32_t plat_odp_packet_t;
+
+/** Invalid packet */
+#define PLAT_ODP_PACKET_INVALID ODP_BUFFER_INVALID
+
+/** Invalid offset */
+#define PLAT_ODP_PACKET_OFFSET_INVALID ((size_t)-1)
+
+
+#endif