|
API Reference Manual 1.51.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. 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. | ||
| odp_threshold_type_t odp_threshold_t::type |
Type of threshold.
Definition at line 66 of file spec/threshold.h.
| odp_percent_t odp_threshold_t::max |
Max percentage value.
Definition at line 73 of file spec/threshold.h.
| odp_percent_t odp_threshold_t::min |
Min percentage value.
Definition at line 76 of file spec/threshold.h.
| uint64_t odp_threshold_t::max |
| uint64_t odp_threshold_t::min |