diff options
author | 2016-11-06 17:20:17 +0200 | |
---|---|---|
committer | 2016-11-06 17:20:17 +0200 | |
commit | a1ade6fd8e044b9866a8644db3519305539cfc61 (patch) | |
tree | 08b4d0e2db80c4d1e5cb759512c5e3631c19fd95 /src/stateless/messaging/trex_stateless_messaging.h | |
parent | 234779fd32e747f4ac918f3c39e59618dde0f2d7 (diff) |
RX features - RX sniffer
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'src/stateless/messaging/trex_stateless_messaging.h')
-rw-r--r-- | src/stateless/messaging/trex_stateless_messaging.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/stateless/messaging/trex_stateless_messaging.h b/src/stateless/messaging/trex_stateless_messaging.h index e96e83d6..f35d9da6 100644 --- a/src/stateless/messaging/trex_stateless_messaging.h +++ b/src/stateless/messaging/trex_stateless_messaging.h @@ -423,9 +423,13 @@ class TrexStatelessRxQuit : public TrexStatelessCpToRxMsgBase { class TrexStatelessRxStartCapture : public TrexStatelessCpToRxMsgBase { public: - TrexStatelessRxStartCapture(uint8_t port_id, const std::string &pcap_filename, uint64_t limit) : m_pcap_filename(pcap_filename) { + TrexStatelessRxStartCapture(uint8_t port_id, + const std::string &pcap_filename, + uint64_t limit, + uint64_t *shared_counter) : m_pcap_filename(pcap_filename) { m_port_id = port_id; m_limit = limit; + m_shared_counter = shared_counter; } virtual bool handle(CRxCoreStateless *rx_core); @@ -434,6 +438,7 @@ private: uint8_t m_port_id; std::string m_pcap_filename; uint64_t m_limit; + uint64_t *m_shared_counter; }; |