summaryrefslogtreecommitdiffstats
path: root/src/stub/trex_stateless_stub.cpp
blob: 199356d80e1a4a26c6072f985a83e44f17ef1756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <trex_stateless_dp_core.h>

class CFlowGenListPerThread;
class TrexStatelessCpToDpMsgBase;

void
TrexStatelessDpCore::create(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(){}

void TrexStatelessDpCore::handle_cp_msg(TrexStatelessCpToDpMsgBase*) {}