COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Functions
covise_host.cpp File Reference
#include <config/CoviseConfig.h>
#include <sys/types.h>
#include <string>
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/utsname.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <net/if.h>
#include <util/coWristWatch.h>
#include "covise_host.h"
Include dependency graph for covise_host.cpp:

Functions

static bool isLoopbackAddress (const unsigned char address[4])
 
static bool isPrivateAddress (const unsigned char address[4])
 
static bool isMulticastAddress (const unsigned char address[4])
 
static bool isRoutableAddress (const unsigned char address[4])
 
std::vector< ifreq * > getNetworkInterfaces (char *buf, size_t buflen)
 
static bool isAddressConfigured (unsigned char address[4])
 
static bool findPrimaryIpAddress (unsigned char address[4])
 

Function Documentation

static bool findPrimaryIpAddress ( unsigned char  address[4])
static
std::vector<ifreq *> getNetworkInterfaces ( char *  buf,
size_t  buflen 
)
static bool isAddressConfigured ( unsigned char  address[4])
static
static bool isLoopbackAddress ( const unsigned char  address[4])
static
static bool isMulticastAddress ( const unsigned char  address[4])
static
static bool isPrivateAddress ( const unsigned char  address[4])
static
static bool isRoutableAddress ( const unsigned char  address[4])
static