aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp/plat/packet_io_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp/plat/packet_io_types.h')
-rw-r--r--platform/linux-generic/include/odp/plat/packet_io_types.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp/plat/packet_io_types.h b/platform/linux-generic/include/odp/plat/packet_io_types.h
new file mode 100644
index 000000000..a6bbacffa
--- /dev/null
+++ b/platform/linux-generic/include/odp/plat/packet_io_types.h
@@ -0,0 +1,40 @@
+/* Copyright (c) 2015, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+
+/**
+ * @file
+ *
+ * ODP Packet IO
+ */
+
+#ifndef ODP_PACKET_IO_TYPES_H_
+#define ODP_PACKET_IO_TYPES_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** @addtogroup odp_packet_io ODP PACKET IO
+ * Operations on a packet.
+ * @{
+ */
+
+typedef uint32_t odp_pktio_t;
+
+#define ODP_PKTIO_INVALID 0
+
+#define ODP_PKTIO_ANY ((odp_pktio_t)~0)
+
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif