summaryrefslogtreecommitdiffstats
path: root/src/flow_stat.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-03-29 15:01:39 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-03-29 15:02:02 +0300
commitffaa6fd004c93d1c8307fe70d4e702624a346ab4 (patch)
tree91a54ac0c8efe9180004a2b92b672c2e45fd9923 /src/flow_stat.h
parentdfbd4594242827d372c27a08599ed1227ae763a1 (diff)
flow stat - track flow states
Diffstat (limited to 'src/flow_stat.h')
-rw-r--r--src/flow_stat.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/flow_stat.h b/src/flow_stat.h
index ea33062d..b20a8b31 100644
--- a/src/flow_stat.h
+++ b/src/flow_stat.h
@@ -200,10 +200,12 @@ class CFlowStatRuleMgr {
CFlowStatRuleMgr();
~CFlowStatRuleMgr();
friend std::ostream& operator<<(std::ostream& os, const CFlowStatRuleMgr& cf);
- int add_stream(const TrexStream * stream);
- int del_stream(const TrexStream * stream);
- int start_stream(TrexStream * stream, uint16_t &ret_hw_id);
- int stop_stream(const TrexStream * stream);
+ void copy_state(TrexStream * from, TrexStream * to);
+ void init_stream(TrexStream * stream);
+ int add_stream(TrexStream * stream);
+ int del_stream(TrexStream * stream);
+ int start_stream(TrexStream * stream);
+ int stop_stream(TrexStream * stream);
int get_active_pgids(flow_stat_active_t &result);
bool dump_json(std::string & json, bool baseline);