#include <ethercat/netif.h>#include <ethercat/ethercat_xenomai_drv.h>#include <dll/ethercat_frame.h>#include <dll/ethercat_device_addressed_telegram.h>#include <vector>#include <stdexcept>#include <iostream>#include <string>#include <sstream>#include <boost/foreach.hpp>#include <ros/ros.h>#include <ectools/ecstats.h>#include <unistd.h>#include <signal.h>#include <errno.h>#include <pthread.h>#include <sys/types.h>#include <sys/socket.h>#include <net/if.h>#include <sys/ioctl.h>#include <netinet/in.h>
Go to the source code of this file.
Classes | |
| struct | send_thread |
Defines | |
| #define | EXCEPT_HEADER __FILE__ << ':' << __LINE__ << ' ' << __func__ << " " |
Functions | |
| int | get_request_sock () throw (std::exception) |
| bool | is_iface_running (const char *iface_name) throw (std::exception) |
| bool | is_iface_up (const char *iface_name) throw (std::exception) |
| int | main (int argc, char **argv) |
| double | timediff (const timespec &time1, const timespec &time0) |
| void | usage (char const *progname) |
Variables | |
| static const unsigned | default_num_threads = 8 |
| static const unsigned | default_packet_size = 1400 |
| char * | optarg |
| int | opterr |
| int | optind |
| int | optopt |
| #define EXCEPT_HEADER __FILE__ << ':' << __LINE__ << ' ' << __func__ << " " |
Definition at line 117 of file ecstats.cpp.
| int get_request_sock | ( | ) | throw (std::exception) |
Definition at line 60 of file ecstats.cpp.
| bool is_iface_running | ( | const char * | iface_name | ) | throw (std::exception) |
Definition at line 97 of file ecstats.cpp.
| bool is_iface_up | ( | const char * | iface_name | ) | throw (std::exception) |
Definition at line 78 of file ecstats.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 425 of file ecstats.cpp.
| double timediff | ( | const timespec & | time1, |
| const timespec & | time0 | ||
| ) |
Definition at line 119 of file ecstats.cpp.
| void usage | ( | char const * | progname | ) |
Definition at line 46 of file ecstats.cpp.
const unsigned default_num_threads = 8 [static] |
Definition at line 44 of file ecstats.cpp.
const unsigned default_packet_size = 1400 [static] |
Definition at line 43 of file ecstats.cpp.
| char* optarg |
| int opterr |
| int optind |
| int optopt |