@@ -298,12 +298,6 @@ int packet_alloc_multi(odp_pool_t pool_hdl, uint32_t len,
int packet_parse_layer(odp_packet_hdr_t *pkt_hdr,
odp_proto_layer_t layer);
-/* Perform L3 and L4 parsing up to a given protocol layer */
-int packet_parse_l3_l4(odp_packet_hdr_t *pkt_hdr,
- odp_proto_layer_t layer,
- uint32_t l3_offset,
- uint16_t ethtype);
-
/* Reset parser metadata for a new parse */
void packet_parse_reset(odp_packet_hdr_t *pkt_hdr);
@@ -2312,22 +2312,6 @@ int packet_parse_layer(odp_packet_hdr_t *pkt_hdr,
seg_len, layer);
}
-int packet_parse_l3_l4(odp_packet_hdr_t *pkt_hdr,
- odp_proto_layer_t layer,
- uint32_t l3_offset,
- uint16_t ethtype)
-{
- uint32_t seg_len = 0;
- void *base = packet_map(pkt_hdr, l3_offset, &seg_len, NULL);
-
- if (seg_len == 0)
- return -1;
-
- return packet_parse_common_l3_l4(&pkt_hdr->p, base, l3_offset,
- pkt_hdr->frame_len, seg_len,
- layer, ethtype);
-}
-
int odp_packet_parse(odp_packet_t pkt, uint32_t offset,
const odp_packet_parse_param_t *param)
{