API Reference Manual 1.51.0
Loading...
Searching...
No Matches
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. More...
 
      odp_percent_t   min 
 Min percentage value. More...
 
   }   percent 
 Percentage.
 
   struct { 
 
      uint64_t   max 
 Max packet count. More...
 
      uint64_t   min 
 Min packet count. More...
 
   }   packet 
 Packet count.
 
   struct { 
 
      uint64_t   max 
 Max byte count. More...
 
      uint64_t   min 
 Min byte count. More...
 
   }   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

◆ type

odp_threshold_type_t odp_threshold_t::type

Type of threshold.

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

◆ max [1/2]

odp_percent_t odp_threshold_t::max

Max percentage value.

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

◆ min [1/2]

odp_percent_t odp_threshold_t::min

Min percentage value.

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

◆ max [2/2]

uint64_t odp_threshold_t::max

Max packet count.

Max byte count.

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

◆ min [2/2]

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: