#include <netinet/ip.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <errno.h>
#include <string>
#include "ros/ros.h"
#include "std_msgs/Bool.h"
Go to the source code of this file.
Functions | |
bool | initSocket () |
bool | interfaceIsRunning (std::string interface_name) |
int | main (int argc, char **argv) |
Variables | |
static int | socket_fd = -1 |
bool initSocket | ( | ) |
Definition at line 13 of file network_detector.cpp.
bool interfaceIsRunning | ( | std::string | interface_name | ) |
Definition at line 22 of file network_detector.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 44 of file network_detector.cpp.
int socket_fd = -1 [static] |
Definition at line 11 of file network_detector.cpp.