API Reference Manual 1.51.0
Loading...
Searching...
No Matches
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.
 
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 455 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 458 of file api/spec/classification.h.

◆ packets

uint64_t odp_cls_cos_stats_t::packets

Number of classified packets, including packets dropped due to drop action.

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

◆ discards

uint64_t odp_cls_cos_stats_t::discards

Number of discarded packets due to other reasons than packet errors or drop action.

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

◆ errors

uint64_t odp_cls_cos_stats_t::errors

Number of packets with errors.

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


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