/* Make sure next header is valid */
if (PREDICT_FALSE (hdr_type != IP_PROTOCOL_IPV6 &&
hdr_type != IP_PROTOCOL_IP_IN_IP &&
/* Make sure next header is valid */
if (PREDICT_FALSE (hdr_type != IP_PROTOCOL_IPV6 &&
hdr_type != IP_PROTOCOL_IP_IN_IP &&
/* Remove IP header and extensions */
vlib_buffer_advance (b0, encap_len);
/* Remove IP header and extensions */
vlib_buffer_advance (b0, encap_len);