diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-10-13 06:53:19 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-10-28 14:38:32 +0200 |
commit | 00bfc58e6f76f7a67a6b62f297f72792534fef52 (patch) | |
tree | 60624bd2f75ed2ae4de1c962ef195b173ae628a8 /src/trex_defs.h | |
parent | 653629bee578b4888bd0c144386c03a4b0d08eef (diff) |
new port attr commands: flow control, link status, led status
add user friendly description to ports
add xstats
enable start with link down at stateless. in CPP status will update itself upon link up, in Python need to restart client at this phase.
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'src/trex_defs.h')
-rw-r--r-- | src/trex_defs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/trex_defs.h b/src/trex_defs.h index c659c337..d8139a83 100644 --- a/src/trex_defs.h +++ b/src/trex_defs.h @@ -16,6 +16,7 @@ limitations under the License. #include <set> #include <queue> #include <vector> +#include <string> #ifndef __TREX_DEFS_H__ #define __TREX_DEFS_H__ @@ -52,5 +53,7 @@ struct cpu_vct_st { typedef std::set<uint32_t> flow_stat_active_t; typedef std::set<uint32_t>::iterator flow_stat_active_it_t; typedef std::vector<cpu_vct_st> cpu_util_full_t; +typedef std::vector<std::string> xstats_names_t; +typedef std::vector<uint64_t> xstats_values_t; #endif |