|
MetroCollect
2.3.4
|
Class to store the details and metrics names of a network interface. More...
#include <SourceEthtool.h>

Classes | |
| struct | NameAndIndex |
| Name of a metric. More... | |
Public Member Functions | |
| InterfaceInfo (const char *aName) | |
| Construct a new Interface Info object. More... | |
| InterfaceInfo ()=delete | |
| Deleted default constructor. More... | |
Public Attributes | |
| std::string | name |
| Name of the interface. More... | |
| std::string | driver |
| Driver name of the interface. More... | |
| size_t | fieldCount |
| Number of metrics of the interface. More... | |
| std::vector< NameAndIndex > | fieldNames |
| Names of the metrics. More... | |
| std::vector< size_t > | fieldIndexes |
| Indexes of relevant metrics (some may be skipped) More... | |
| struct ifreq | ifr |
| Ethtool data structure of this interface. More... | |
| EthtoolPointer< struct ethtool_stats, uint64_t > | statsValues |
| Ethtool statistics array. More... | |
Class to store the details and metrics names of a network interface.
Definition at line 199 of file SourceEthtool.h.
|
explicit |
Construct a new Interface Info object.
Definition at line 35 of file SourceEthtool.cc.
|
delete |
Deleted default constructor.
| std::string MetroCollect::MetricsSource::SourceEthtool::InterfaceInfo::driver |
Driver name of the interface.
Definition at line 209 of file SourceEthtool.h.
| size_t MetroCollect::MetricsSource::SourceEthtool::InterfaceInfo::fieldCount |
Number of metrics of the interface.
Definition at line 210 of file SourceEthtool.h.
| std::vector<size_t> MetroCollect::MetricsSource::SourceEthtool::InterfaceInfo::fieldIndexes |
Indexes of relevant metrics (some may be skipped)
Definition at line 212 of file SourceEthtool.h.
| std::vector<NameAndIndex> MetroCollect::MetricsSource::SourceEthtool::InterfaceInfo::fieldNames |
Names of the metrics.
Definition at line 211 of file SourceEthtool.h.
| struct ifreq MetroCollect::MetricsSource::SourceEthtool::InterfaceInfo::ifr |
Ethtool data structure of this interface.
Definition at line 213 of file SourceEthtool.h.
| std::string MetroCollect::MetricsSource::SourceEthtool::InterfaceInfo::name |
Name of the interface.
Definition at line 208 of file SourceEthtool.h.
| EthtoolPointer<struct ethtool_stats, uint64_t> MetroCollect::MetricsSource::SourceEthtool::InterfaceInfo::statsValues |
Ethtool statistics array.
Definition at line 215 of file SourceEthtool.h.