From 2dab8f65015e9fa90df395be6ee1a07e9ac71044 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Wed, 8 Feb 2017 15:21:11 +0200 Subject: move to active flows Signed-off-by: Hanoh Haim --- src/bp_sim.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bp_sim.h') diff --git a/src/bp_sim.h b/src/bp_sim.h index 217446ed..a5153792 100755 --- a/src/bp_sim.h +++ b/src/bp_sim.h @@ -4000,7 +4000,7 @@ private: void terminate_nat_flows(CGenNode *node); - void init_from_global(CIpPortion &); + void init_from_global(); void defer_client_port_free(CGenNode *p); void defer_client_port_free(bool is_tcp,uint32_t c_ip,uint16_t port, uint8_t pool_idx, CTupleGeneratorSmart*gen); @@ -4142,6 +4142,8 @@ public: public: /* update ipg in a way for */ int update_active_flows(uint32_t active_flows); + double get_worse_case_active_flows(); + double get_total_kcps(); double get_total_pps(); double get_total_tx_bps(); -- cgit 1.2.3-korg