L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
Virtio_net_switch::Statistics Struct Reference

Base statistics data structure, resides at the beginning of shared memory. More...

#include <stats.h>

Collaboration diagram for Virtio_net_switch::Statistics:

Data Fields

l4_uint64_t age
 This value increases on any change in the data structure.
l4_uint64_t max_ports
 The maximum number of ports that the switch supports.
struct Port_statistics port_stats []
 Array of Port_statistics.

Detailed Description

Base statistics data structure, resides at the beginning of shared memory.

Definition at line 42 of file stats.h.

Field Documentation

◆ age

l4_uint64_t Virtio_net_switch::Statistics::age

This value increases on any change in the data structure.

E.g. when a port on the switch is created or discarded.

Definition at line 44 of file stats.h.


The documentation for this struct was generated from the following file:
  • pkg/virtio-net-switch/lib/include/stats.h