summaryrefslogtreecommitdiffstats
path: root/src/stateless/cp/trex_stateless_port.h
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-11-23 18:02:14 +0200
committerimarom <imarom@cisco.com>2015-11-23 18:02:14 +0200
commit1f6977d1e109acba69f1bf2230d6b9f5e4aae54e (patch)
tree21292c73ea16f456d4deee455dcb9e1f96397141 /src/stateless/cp/trex_stateless_port.h
parent903b855393acd411e85b25e6b2df1158d9fe2856 (diff)
add stream graph + support for console to use any of the following
bps, kbps, mbps, gbps, pps, kpps, mbps percentage is not working yet
Diffstat (limited to 'src/stateless/cp/trex_stateless_port.h')
-rw-r--r--src/stateless/cp/trex_stateless_port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stateless/cp/trex_stateless_port.h b/src/stateless/cp/trex_stateless_port.h
index 73157c15..9b74741c 100644
--- a/src/stateless/cp/trex_stateless_port.h
+++ b/src/stateless/cp/trex_stateless_port.h
@@ -77,6 +77,8 @@ public:
* throws TrexException in case of an error
*/
void start_traffic(double mul, double duration = -1);
+ void start_traffic_max_bps(double max_bps, double duration = -1);
+ void start_traffic_max_pps(double max_pps, double duration = -1);
/**
* stop traffic