diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-03-22 17:36:43 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-03-23 10:26:03 +0200 |
commit | 9c03844bea5c9fc4423ed4c6ddf9376a9cdd7ac5 (patch) | |
tree | bc3783688a31285d6c7ad23493eae50dafda8ac1 /src/stateless/messaging/trex_stateless_messaging.cpp | |
parent | 1e93f5b1fc20d7e8fd4b01b4e3c0715095b42e14 (diff) |
10G and VM work
Diffstat (limited to 'src/stateless/messaging/trex_stateless_messaging.cpp')
-rw-r--r-- | src/stateless/messaging/trex_stateless_messaging.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/stateless/messaging/trex_stateless_messaging.cpp b/src/stateless/messaging/trex_stateless_messaging.cpp index 3468d622..7edf0f13 100644 --- a/src/stateless/messaging/trex_stateless_messaging.cpp +++ b/src/stateless/messaging/trex_stateless_messaging.cpp @@ -209,13 +209,17 @@ TrexDpPortEventMsg::handle() { } /************************* messages from CP to RX **********************/ -bool TrexRxStartMsg::handle (CRxCoreStateless *rx_core) { +bool TrexStatelessRxStartMsg::handle (CRxCoreStateless *rx_core) { rx_core->work(); return true; } -/************************* messages from CP to RX **********************/ -bool TrexRxStopMsg::handle (CRxCoreStateless *rx_core) { +bool TrexStatelessRxStopMsg::handle (CRxCoreStateless *rx_core) { rx_core->idle(); return true; } + +bool TrexStatelessRxQuit::handle (CRxCoreStateless *rx_core) { + rx_core->quit(); + return true; +} |