From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
---
/** Email created from pull request 476 (lumag:l2-type)
 ** https://github.com/Linaro/odp/pull/476
 ** Patch: https://github.com/Linaro/odp/pull/476.patch
 ** Base sha: af7be638ef9ac98bdb1f2e4917f152889eb1850f
 ** Merge commit sha: 07d4eead898ce4cf6c7a574495f3622b7aa9d27d
 **/
 platform/linux-generic/include-abi/odp/api/abi/packet.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/platform/linux-generic/include-abi/odp/api/abi/packet.h 
b/platform/linux-generic/include-abi/odp/api/abi/packet.h
index 137cd3ec4..53e579b2f 100644
--- a/platform/linux-generic/include-abi/odp/api/abi/packet.h
+++ b/platform/linux-generic/include-abi/odp/api/abi/packet.h
@@ -47,6 +47,11 @@ static inline odp_packet_seg_t 
_odp_packet_seg_from_ndx(uint8_t ndx)
 
 #define ODP_PACKET_SEG_INVALID ((odp_packet_seg_t)-1)
 
+typedef uint8_t odp_proto_l2_type_t;
+
+#define ODP_PROTO_L2_TYPE_NONE   0
+#define ODP_PROTO_L2_TYPE_ETH    0
+
 typedef uint8_t odp_proto_l3_type_t;
 
 #define ODP_PROTO_L3_TYPE_NONE   0

Reply via email to