diff options
author | imarom <imarom@cisco.com> | 2016-12-13 18:15:22 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-12-13 18:15:22 +0200 |
commit | 0fdd81a94d62592b0ec9888022d793f670c8476f (patch) | |
tree | ec52cd0f090793e26f67bc017d402b737acd71b5 /src/stateful_rx_core.h | |
parent | 0c45815234abbb79b147b8093eb19e274ee65f52 (diff) |
Major refactor - L2 / L3 modes for ports
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'src/stateful_rx_core.h')
-rw-r--r-- | src/stateful_rx_core.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/stateful_rx_core.h b/src/stateful_rx_core.h index 2df406de..8744a58a 100644 --- a/src/stateful_rx_core.h +++ b/src/stateful_rx_core.h @@ -32,33 +32,6 @@ limitations under the License. class TrexWatchDog; -class CRXCoreIgnoreStat { - friend class CCPortLatency; - friend class CLatencyManager; - public: - inline CRXCoreIgnoreStat operator- (const CRXCoreIgnoreStat &t_in) { - CRXCoreIgnoreStat t_out; - t_out.m_tx_arp = this->m_tx_arp - t_in.m_tx_arp; - t_out.m_tx_ipv6_n_solic = this->m_tx_ipv6_n_solic - t_in.m_tx_ipv6_n_solic; - t_out.m_tot_bytes = this->m_tot_bytes - t_in.m_tot_bytes; - return t_out; - } - uint64_t get_tx_bytes() {return m_tot_bytes;} - uint64_t get_tx_pkts() {return m_tx_arp + m_tx_ipv6_n_solic;} - uint64_t get_tx_arp() {return m_tx_arp;} - uint64_t get_tx_n_solic() {return m_tx_ipv6_n_solic;} - void clear() { - m_tx_arp = 0; - m_tx_ipv6_n_solic = 0; - m_tot_bytes = 0; - } - - private: - uint64_t m_tx_arp; - uint64_t m_tx_ipv6_n_solic; - uint64_t m_tot_bytes; -}; - class CLatencyPktInfo { public: void Create(class CLatencyPktMode *m_l_pkt_info); |