|
L4Re Operating System Framework
Interface and Usage Documentation
|
Statistics client interface. More...
#include <stats.h>
Public Member Functions | |
| Port_statistics * | get_port_stats (char const *name) const |
| Retrieve pointer to Port_statistics structure. | |
| bool | get_port_mac (char const *name, unsigned char *mac) const |
| Retrieve the MAC address of a port. | |
| void | sync () const |
| Instruct the network switch to update the statistics information. | |
Statistics client interface.
A client can retrieve per port statistics information, such as the number of sent and received packets. The information is shared with a L4Re::Dataspace. The information contained in the L4Re::Dataspace is updated by the switch only on Monitor::sync().
|
inline |
|
inline |
Retrieve pointer to Port_statistics structure.
| name | The name of the port. |