35 #ifndef ETHERNET_INTERFACE_INFO_H 36 #define ETHERNET_INTERFACE_INFO_H 108 #endif //ETHERNET_INTERFACE_INFO_H
unsigned lost_link_count_
Number of time master link went down.
int sock_
network socket for making ioctl requests
InterfaceState last_state_
ROSCONSOLE_DECL void initialize()
std::string interface_
name of network interface (for example : eth0)
int rx_frame_error_index_
int rx_align_error_index_
unsigned n_stats_
Number of stats available from ethtool ioctl.
char * ethtool_stats_buf_
buffer for NIC statistic values
EthtoolStats orig_stats_
Orignal statistics counts when initialize() was called.