From 0c45815234abbb79b147b8093eb19e274ee65f52 Mon Sep 17 00:00:00 2001 From: imarom Date: Mon, 12 Dec 2016 19:26:24 +0200 Subject: grat ARP Signed-off-by: imarom --- src/stateless/messaging/trex_stateless_messaging.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/stateless/messaging/trex_stateless_messaging.h') diff --git a/src/stateless/messaging/trex_stateless_messaging.h b/src/stateless/messaging/trex_stateless_messaging.h index 79a6bf08..5f00c244 100644 --- a/src/stateless/messaging/trex_stateless_messaging.h +++ b/src/stateless/messaging/trex_stateless_messaging.h @@ -27,6 +27,7 @@ limitations under the License. #include "trex_exception.h" #include "trex_stateless_rx_defs.h" #include "os_time.h" +#include "utl_ip.h" class TrexStatelessDpCore; class CRxCoreStateless; @@ -568,6 +569,22 @@ private: }; +class TrexStatelessRxUpdateSrcAddr : public TrexStatelessCpToRxMsgBase { +public: + TrexStatelessRxUpdateSrcAddr(uint8_t port_id, + const CManyIPInfo &src_addr) { + + m_port_id = port_id; + m_src_addr = src_addr; + } + + virtual bool handle(CRxCoreStateless *rx_core); + +private: + uint8_t m_port_id; + CManyIPInfo m_src_addr; +}; + /** * a request from RX core to dump to Json the RX features */ -- cgit 1.2.3-korg