API Reference Manual  1.45.0
odp_threshold_t Struct Reference

ODP Threshold. More...

#include <threshold.h>

Data Fields

odp_threshold_type_t type
 Type of threshold.
 
union {
   struct {
      odp_percent_t   max
 Max percentage value.
 
      odp_percent_t   min
 Min percentage value.
 
   }   percent
 Percentage.
 
   struct {
      uint64_t   max
 Max packet count.
 
      uint64_t   min
 Min packet count.
 
   }   packet
 Packet count.
 
   struct {
      uint64_t   max
 Max byte count.
 
      uint64_t   min
 Min byte count.
 
   }   byte
 Sum of all data bytes of all packets.
 
}; 
 Different threshold types.
 

Detailed Description

ODP Threshold.

Threshold configuration

Definition at line 64 of file spec/threshold.h.

Field Documentation

◆ max

uint64_t odp_threshold_t::max

Max packet count.

Max byte count.

Definition at line 82 of file spec/threshold.h.

◆ min

uint64_t odp_threshold_t::min

Min packet count.

Min byte count.

Definition at line 85 of file spec/threshold.h.


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