diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-06-20 16:45:21 +0300 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-06-20 16:45:39 +0300 |
commit | 1b1567ac6c2cfcb1625dded30f497339c1519f91 (patch) | |
tree | de5a82c3daafb9d6b38df46265c344b75986cbe2 /src/flow_stat.h | |
parent | 88486da4a095bd7fa7094d4bd9ab54eeafd24a26 (diff) |
Adding verify_stream in flow_stat.cpp
Diffstat (limited to 'src/flow_stat.h')
-rw-r--r-- | src/flow_stat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flow_stat.h b/src/flow_stat.h index eae484e7..a2137198 100644 --- a/src/flow_stat.h +++ b/src/flow_stat.h @@ -450,6 +450,7 @@ class CFlowStatRuleMgr { friend std::ostream& operator<<(std::ostream& os, const CFlowStatRuleMgr& cf); void copy_state(TrexStream * from, TrexStream * to); void init_stream(TrexStream * stream); + int verify_stream(TrexStream * stream); int add_stream(TrexStream * stream); int del_stream(TrexStream * stream); int start_stream(TrexStream * stream); @@ -460,6 +461,7 @@ class CFlowStatRuleMgr { private: void create(); int compile_stream(const TrexStream * stream, CFlowStatParser *parser); + int add_stream_internal(TrexStream * stream, bool do_action); int add_hw_rule(uint16_t hw_id, uint8_t proto); void send_start_stop_msg_to_rx(bool is_start); |