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.


bool initSocket ()
bool interfaceIsRunning (std::string interface_name)
int main (int argc, char **argv)


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

Variable Documentation

int socket_fd = -1 [static]

Definition at line 11 of file network_detector.cpp.

Author(s): Kevin Watts (
autogenerated on Thu Sep 3 2015 11:31:16