diff options
Diffstat (limited to 'src/stub/trex_stateless_stub.cpp')
-rw-r--r-- | src/stub/trex_stateless_stub.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/stub/trex_stateless_stub.cpp b/src/stub/trex_stateless_stub.cpp index 8e8d4fa8..06a9e189 100644 --- a/src/stub/trex_stateless_stub.cpp +++ b/src/stub/trex_stateless_stub.cpp @@ -4,7 +4,17 @@ class CFlowGenListPerThread; class TrexStatelessCpToDpMsgBase; -TrexStatelessDpCore::TrexStatelessDpCore(unsigned char, CFlowGenListPerThread*) {} +TrexStatelessDpCore::TrexStatelessDpCore(unsigned char, CFlowGenListPerThread*) { + m_thread_id = 0; + m_core = NULL; + + m_state = STATE_IDLE; + + CMessagingManager * cp_dp = CMsgIns::Ins()->getCpDp(); + + m_ring_from_cp = cp_dp->getRingCpToDp(0); + m_ring_to_cp = cp_dp->getRingDpToCp(0); +} void TrexStatelessDpCore::start(){} |