|
L4Re Operating System Framework
Interface and Usage Documentation
|
IPC interface for the statistics interface. More...
#include <stats.h>
Public Member Functions | |
| long | get_buffer (L4::Ipc::Out< L4::Cap< L4Re::Dataspace > > ds) |
| Get shared memory buffer containing port statistics. | |
| long | sync () |
| Instruct the switch to update the statistics information in the shared memory buffer. | |
| Public Member Functions inherited from L4::Kobject | |
| l4_msgtag_t | dec_refcnt (l4_mword_t diff, l4_utcb_t *utcb=l4_utcb()) |
| Decrement the in kernel reference counter for the object. | |
Additional Inherited Members | |
| Protected Types inherited from L4::Kobject_t< Statistics_if, L4::Kobject > | |
| typedef Statistics_if | Class |
| The target interface type (inheriting from Kobject_t). | |
| typedef Typeid::Iface< PROTO_ANY, Statistics_if > | __Iface |
| The interface description for the derived class. | |
| typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, typename L4::Kobject::__Iface_list > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance. | |
| Protected Member Functions inherited from L4::Kobject_t< Statistics_if, L4::Kobject > | |
| L4::Cap< Class > | c () const noexcept |
| Get the capability to ourselves. | |
| Protected Member Functions inherited from L4::Kobject | |
| l4_cap_idx_t | cap () const noexcept |
| Return capability selector. | |
| Static Protected Member Functions inherited from L4::Kobject_t< Statistics_if, L4::Kobject > | |
| static void | __check_protocols__ () noexcept |
| Helper to check for protocol conflicts. | |
IPC interface for the statistics interface.
This interface is plumbing used by the Monitor interface. Clients usually do not invoke this directly.
| long Virtio_net_switch::Statistics_if::get_buffer | ( | L4::Ipc::Out< L4::Cap< L4Re::Dataspace > > | ds | ) |
Get shared memory buffer containing port statistics.
| [out] | ds | Capability of the dataspace containing port statistics. |
| 0 | Success |
| <0 | Error |
References get_buffer().
Referenced by get_buffer().
| long Virtio_net_switch::Statistics_if::sync | ( | ) |