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


Variable Documentation

int socket_fd = -1 [static]

Definition at line 11 of file network_detector.cpp.



pr2_computer_monitor
Author(s): Kevin Watts (watts@willowgarage.com)
autogenerated on Sat Nov 30 2013 21:19:30