platform/linux-dpdk/include/odp_packet_internal.h
static inline void packet_parse_reset(odp_packet_hdr_t *pkt_hdr)
{
	/* Reset parser metadata before new parse */
	pkt_hdr->p.error_flags.all  = 0;
	pkt_hdr->p.input_flags.all  = 0;
	pkt_hdr->p.output_flags.all = 0;
	pkt_hdr->p.l2_offset        = 0;
	pkt_hdr->p.l3_offset        = ODP_PACKET_OFFSET_INVALID;
	pkt_hdr->p.l4_offset        = ODP_PACKET_OFFSET_INVALID;
}
/* Reset parser metadata for a new parse */
Reset parser metadata for a new parse
Reset parser metadata for a new parse
static inline void packet_parse_reset(odp_packet_hdr_t *pkt_hdr)
{
	pkt_hdr->p.error_flags.all  = 0;
	pkt_hdr->p.input_flags.all  = 0;
	pkt_hdr->p.output_flags.all = 0;
	pkt_hdr->p.l2_offset        = 0;
	pkt_hdr->p.l3_offset        = ODP_PACKET_OFFSET_INVALID;
	pkt_hdr->p.l4_offset        = ODP_PACKET_OFFSET_INVALID;
}
static inline void packet_parse_reset ( odp_packet_hdr_t * pkt_hdr ) { pkt_hdr -> p . error_flags . all = 0 ; pkt_hdr -> p . input_flags . all = 0 ; pkt_hdr -> p . output_flags . all = 0 ; pkt_hdr -> p . l2_offset = 0 ; pkt_hdr -> p . l3_offset = ODP_PACKET_OFFSET_INVALID ; pkt_hdr -> p . l4_offset = ODP_PACKET_OFFSET_INVALID ; }
Reset parser metadata for a new parse
Reset parser metadata for a new parse
/* Reset parser metadata before new parse */