aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/packet_io.h
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2015-01-05 21:11:24 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-01-29 20:42:35 +0300
commitcf7662bb1f60a5277be1927f48ba0261530fbc1d (patch)
tree3d467d85053f2b0d8a976c7306d2f4e4b4dcea70 /include/odp/api/packet_io.h
parent5456aa8eeee0a639313a070c62a714837fbba0de (diff)
api: packet_io: move typedef and defines
Align the style with the rest of the header files of linux-generic Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> Reviewed-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/packet_io.h')
-rw-r--r--include/odp/api/packet_io.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
index 0ee56b7e8..9855b137f 100644
--- a/include/odp/api/packet_io.h
+++ b/include/odp/api/packet_io.h
@@ -19,7 +19,6 @@ extern "C" {
#endif
#include <odp/std_types.h>
-#include <odp/platform_types.h>
#include <odp/pool.h>
#include <odp/packet.h>
#include <odp/queue.h>
@@ -30,6 +29,21 @@ extern "C" {
*/
/**
+ * @typedef odp_pktio_t
+ * ODP packet IO handle
+ */
+
+/**
+ * @def ODP_PKTIO_INVALID
+ * Invalid packet IO handle
+ */
+
+/**
+ * @def ODP_PKTIO_ANY
+ * odp_pktio_t value to indicate any port
+ */
+
+/**
* Open an ODP packet IO instance
*
* Packet IO handles are single instance per device, attempts to open an already