Go to the documentation of this file.
35 #ifndef ETHERNET_INTERFACE_INFO_H
36 #define ETHERNET_INTERFACE_INFO_H
108 #endif //ETHERNET_INTERFACE_INFO_H
int rx_align_error_index_
std::string interface_
name of network interface (for example : eth0)
void initialize(const std::string &interface)
InterfaceState last_state_
unsigned lost_link_count_
Number of time master link went down.
int rx_frame_error_index_
EthtoolStats orig_stats_
Orignal statistics counts when initialize() was called.
bool getEthtoolStats(EthtoolStats &stats)
Get ethtool stats from interface.
int sock_
network socket for making ioctl requests
unsigned n_stats_
Number of stats available from ethtool ioctl.
bool getInterfaceState(InterfaceState &state)
Get state (up,running) of interface.
char * ethtool_stats_buf_
buffer for NIC statistic values
void publishDiagnostics(diagnostic_updater::DiagnosticStatusWrapper &d)
Collect and append ethernet interface diagnostics.
ethercat_hardware
Author(s): Rob Wheeler
, Derek King
autogenerated on Thu Sep 26 2024 02:44:04