@@ -158,6 +158,7 @@ typedef struct ODP_PACKED {
* @{*/
#define _ODP_IPPROTO_HOPOPTS 0x00 /**< IPv6 hop-by-hop options */
#define _ODP_IPPROTO_ICMPv4 0x01 /**< Internet Control Message Protocol (1) */
+#define _ODP_IPPROTO_IPIP 0x04 /**< IP Encapsulation within IP (4) */
#define _ODP_IPPROTO_TCP 0x06 /**< Transmission Control Protocol (6) */
#define _ODP_IPPROTO_UDP 0x11 /**< User Datagram Protocol (17) */
#define _ODP_IPPROTO_ROUTE 0x2B /**< IPv6 Routing header (43) */
@@ -2080,6 +2080,10 @@ int packet_parse_common(packet_parser_t *prs, const uint8_t *ptr,
prs->input_flags.icmp = 1;
break;
+ case _ODP_IPPROTO_IPIP:
+ /* Do nothing */
+ break;
+
case _ODP_IPPROTO_TCP:
if (odp_unlikely(offset + _ODP_TCPHDR_LEN > seg_len))
return -1;