summaryrefslogtreecommitdiffstats
path: root/src/stateless/dp/trex_stateless_dp_core.h
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-10-28 12:45:57 +0200
committerimarom <imarom@cisco.com>2015-10-28 12:45:57 +0200
commitcb8bc9bda11c951b8b91a635d8d4d6df8d5a0ab8 (patch)
treecf63a7ec23094b48bcf59e5c0d95aa6d6aeb4e26 /src/stateless/dp/trex_stateless_dp_core.h
parentea0b6efc3a41f425e46d81f4b6b8bbbf3238add1 (diff)
support for multiple streams
Diffstat (limited to 'src/stateless/dp/trex_stateless_dp_core.h')
-rw-r--r--src/stateless/dp/trex_stateless_dp_core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stateless/dp/trex_stateless_dp_core.h b/src/stateless/dp/trex_stateless_dp_core.h
index 65d894d2..da8484a6 100644
--- a/src/stateless/dp/trex_stateless_dp_core.h
+++ b/src/stateless/dp/trex_stateless_dp_core.h
@@ -28,6 +28,7 @@ class TrexStatelessCpToDpMsgBase;
class TrexStatelessDpStart;
class CFlowGenListPerThread;
class CGenNode;
+class TrexStreamsCompiledObj;
class TrexStatelessDpCore {
@@ -62,7 +63,7 @@ public:
* @param pkt
* @param pkt_len
*/
- void start_const_traffic(const uint8_t *pkt, uint16_t pkt_len, double pps);
+ void start_traffic(TrexStreamsCompiledObj *obj);
/**
* stop all traffic for this core
@@ -107,6 +108,8 @@ private:
*/
void handle_cp_msg(TrexStatelessCpToDpMsgBase *msg);
+ void add_cont_stream(double pps, const uint8_t *pkt, uint16_t pkt_len);
+
uint8_t m_thread_id;
state_e m_state;
CNodeRing *m_ring_from_cp;