aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include/api/odp_packet.h
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@linaro.org>2015-02-26 18:25:04 +0000
committerVenkatesh Vivekanandan <venkatesh.vivekanandan@linaro.org>2015-02-27 14:48:13 +0530
commit3aac5d5bad989f5d82975b5b1eadddfb9fadce5a (patch)
tree3ae78170d35af2000bfded1af2f7fc41c76e48ef /platform/linux-dpdk/include/api/odp_packet.h
parent5e1bd0c88398a8987e88ab238e3d2c68f629546c (diff)
Factor ODP types into a common include file
Porting commit from linux-generic (111e) Signed-off-by: Venkatesh Vivekanandan <venkatesh.vivekanandan@linaro.org> Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
Diffstat (limited to 'platform/linux-dpdk/include/api/odp_packet.h')
-rw-r--r--platform/linux-dpdk/include/api/odp_packet.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/platform/linux-dpdk/include/api/odp_packet.h b/platform/linux-dpdk/include/api/odp_packet.h
index 50e19ec06..c303d7840 100644
--- a/platform/linux-dpdk/include/api/odp_packet.h
+++ b/platform/linux-dpdk/include/api/odp_packet.h
@@ -22,19 +22,6 @@ extern "C" {
/**
- * ODP packet descriptor
- */
-typedef odp_buffer_t odp_packet_t;
-
-
-/** Invalid packet */
-#define ODP_PACKET_INVALID ODP_BUFFER_INVALID
-
-/** Invalid offset */
-#define ODP_PACKET_OFFSET_INVALID ((size_t)-1)
-
-
-/**
* Initialize the packet
*
* Needs to be called if the user allocates a packet buffer, i.e. the packet