|
API Reference Manual
1.48.0
|
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. | |
| uint64_t odp_threshold_t::max |
| uint64_t odp_threshold_t::min |