Functions | Variables
network_detector.cpp File Reference
#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"
Include dependency graph for network_detector.cpp:

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

Function Documentation

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 47 of file network_detector.cpp.


Variable Documentation

int socket_fd = -1 [static]

Definition at line 11 of file network_detector.cpp.



network_detector
Author(s): Dave Hershberger
autogenerated on Wed Sep 16 2015 04:38:39