diff options
author | Hanoh Haim <hhaim@cisco.com> | 2017-02-08 15:21:11 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2017-02-09 09:56:00 +0200 |
commit | 2dab8f65015e9fa90df395be6ee1a07e9ac71044 (patch) | |
tree | aabab12f12e50e34f09f092c7f19dc7948de0134 /src/tuple_gen.h | |
parent | c9b62af88eb92ca403e43c34a2279c80d8d6f57b (diff) |
move to active flows
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src/tuple_gen.h')
-rwxr-xr-x | src/tuple_gen.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/tuple_gen.h b/src/tuple_gen.h index e9dc8d4e..59f97587 100755 --- a/src/tuple_gen.h +++ b/src/tuple_gen.h @@ -513,8 +513,7 @@ public: void Create(IP_DIST_t dist_value, uint32_t min_ip, uint32_t max_ip, - double l_flow, - double t_cps, + double active_flows, ClientCfgDB &client_info, uint16_t tcp_aging, uint16_t udp_aging); @@ -547,8 +546,7 @@ class CServerPoolBase { virtual void Create(IP_DIST_t dist_value, uint32_t min_ip, uint32_t max_ip, - double l_flow, - double t_cps) = 0; + double active_flows) = 0; }; @@ -557,8 +555,8 @@ public: void Create(IP_DIST_t dist_value, uint32_t min_ip, uint32_t max_ip, - double l_flow, - double t_cps) { + double active_flows + ) { m_max_server_ip = max_ip; m_min_server_ip = min_ip; m_cur_server_ip = min_ip; @@ -598,8 +596,7 @@ public: void Create(IP_DIST_t dist_value, uint32_t min_ip, uint32_t max_ip, - double l_flow, - double t_cps); + double active_flows); void Delete() { if (gen!=NULL) { @@ -690,8 +687,7 @@ public: bool add_client_pool(IP_DIST_t client_dist, uint32_t min_client, uint32_t max_client, - double l_flow, - double t_cps, + double active_flows, ClientCfgDB &client_info, uint16_t tcp_aging, uint16_t udp_aging); @@ -699,8 +695,7 @@ public: bool add_server_pool(IP_DIST_t server_dist, uint32_t min_server, uint32_t max_server, - double l_flow, - double t_cps, + double active_flows, bool is_bundling); CClientPool* get_client_pool(uint8_t idx) { |