diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-03-08 11:18:07 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-03-08 11:18:07 +0200 |
commit | fbc4fb05834899e70005a61f8f3c2ddf427aae67 (patch) | |
tree | 0eb95bd436914255cc0a76e393e1a79c6af2ac62 /src/flow_stat.cpp | |
parent | 205e581ed5a176f24347d46cd2cff3f45b8ff564 (diff) | |
parent | 9e41eef933345d8b91014a7760ec13bac972fdb7 (diff) |
Merge enic patch
Diffstat (limited to 'src/flow_stat.cpp')
-rw-r--r-- | src/flow_stat.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/flow_stat.cpp b/src/flow_stat.cpp index 700c584b..4d23dc60 100644 --- a/src/flow_stat.cpp +++ b/src/flow_stat.cpp @@ -599,6 +599,16 @@ int CFlowStatRuleMgr::stop_stream(const TrexStream * stream) { return 0; } +int CFlowStatRuleMgr::get_active_pgids(flow_stat_active_t &result) { + flow_stat_user_id_map_it_t it; + + for (it = m_user_id_map.begin(); it != m_user_id_map.end(); it++) { + result.insert(it->first); + } + + return 0; +} + // return false if no counters changed since last run. true otherwise bool CFlowStatRuleMgr::dump_json(std::string & json) { uint64_t rx_stats[MAX_FLOW_STATS]; |