API Reference Manual  1.45.1
odp_cls_stats_capability_t Struct Reference

Classifier statistics capabilities. More...

#include <classification.h>

Data Fields

struct {
   union {
      struct {
         uint64_t   octets: 1
 See odp_cls_cos_stats_t::octets.
 
         uint64_t   packets: 1
 See odp_cls_cos_stats_t::packets.
 
         uint64_t   discards: 1
 See odp_cls_cos_stats_t::discards.
 
         uint64_t   errors: 1
 See odp_cls_cos_stats_t::errors.
 
      }   counter
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters
 All bits of the bit field structure. More...
 
   } 
 Supported counters.
 
cos
 CoS level capabilities.
 
struct {
   union {
      struct {
         uint64_t   octets: 1
 See odp_cls_queue_stats_t::octets.
 
         uint64_t   packets: 1
 See odp_cls_queue_stats_t::packets.
 
         uint64_t   discards: 1
 See odp_cls_queue_stats_t::discards.
 
         uint64_t   errors: 1
 See odp_cls_queue_stats_t::errors.
 
      }   counter
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters
 All bits of the bit field structure. More...
 
   } 
 Supported counters.
 
queue
 Queue level capabilities.
 

Detailed Description

Classifier statistics capabilities.

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

Field Documentation

◆ octets

uint64_t odp_cls_stats_capability_t::octets

◆ packets

uint64_t odp_cls_stats_capability_t::packets

◆ discards

uint64_t odp_cls_stats_capability_t::discards

◆ errors

uint64_t odp_cls_stats_capability_t::errors

◆ all_counters

uint64_t odp_cls_stats_capability_t::all_counters

All bits of the bit field structure.

This field can be used to set/clear all flags, or for bitwise operations over the entire structure.

Examples
odp_sysinfo.c.

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


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