|
SatCat5
|
Static allocation wrapper for eth::SwitchLogStats.
Definition at line 203 of file eth_sw_log.h.
#include <eth_sw_log.h>
Public Member Functions | |
| TrafficStats | get_port (unsigned idx) |
| Read most recent statistics for the Nth port. More... | |
| void | log_packet (const satcat5::eth::SwitchLogMessage &msg) override |
| Process each packet event. | |
Protected Attributes | |
| satcat5::eth::SwitchLogStats::TrafficStats | m_stats_buffer [SIZE] |
| TrafficStats *const | m_stats |
| Working counters. | |
| const unsigned | m_size |
| Buffer size. | |
Private Attributes | |
| satcat5::eth::SwitchLogHandler * | m_next |
|
inherited |
Read most recent statistics for the Nth port.
Calling this method resets all counters for the requested port.
Definition at line 211 of file eth_sw_log.cc.