API Reference Manual  1.45.0
odp_pktio_parser_config_t Struct Reference

Parser configuration. More...

#include <packet_io_types.h>

Data Fields

odp_proto_layer_t layer
 Protocol parsing level in packet input. More...
 

Detailed Description

Parser configuration.

Definition at line 553 of file api/spec/packet_io_types.h.

Field Documentation

◆ layer

odp_proto_layer_t odp_pktio_parser_config_t::layer

Protocol parsing level in packet input.

Application requires that protocol headers in a packet are checked up to this layer during packet input. Use ODP_PROTO_LAYER_ALL for all layers. Packet metadata for this and all preceding layers are set. In addition, offset (and pointer) to the next layer is set. Other layer/protocol specific metadata have undefined values.

The default value is ODP_PROTO_LAYER_ALL.

Examples
odp_classifier.c, odp_l2fwd.c, odp_l2fwd_simple.c, odp_l3fwd.c, odp_packet_dump.c, odp_packet_gen.c, odp_ping.c, odp_pktio_ordered.c, odp_pktio_perf.c, odp_sched_pktio.c, odp_simple_pipeline.c, and odp_switch.c.

Definition at line 563 of file api/spec/packet_io_types.h.


The documentation for this struct was generated from the following file: