API Reference Manual  1.45.0
odp_cls_cos_stats_t Struct Reference

Classifier CoS specific statistics counters. More...

#include <classification.h>

Data Fields

uint64_t octets
 Number of octets in classified packets. More...
 
uint64_t packets
 Number of classified packets, including packets dropped due to drop action.
 
uint64_t discards
 Number of discarded packets due to other reasons than packet errors or drop action.
 
uint64_t errors
 Number of packets with errors.
 

Detailed Description

Classifier CoS specific statistics counters.

Counters are incremented per packet classified to the CoS. In a CoS chain, counters are incremented in every CoS for which counters are enabled.

Definition at line 422 of file api/spec/classification.h.

Field Documentation

◆ octets

uint64_t odp_cls_cos_stats_t::octets

Number of octets in classified packets.

In case of Ethernet, packet size includes MAC header.

Definition at line 425 of file api/spec/classification.h.


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