$search

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


Variable Documentation

int socket_fd = -1 [static]

Definition at line 11 of file network_detector.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


network_detector
Author(s): Dave Hershberger
autogenerated on Fri Mar 1 16:03:37 2013