Namespaces | Functions
net_utils.cc File Reference
#include "net_utils.h"
#include <string.h>
#include <ifaddrs.h>
#include <arpa/inet.h>
#include <unistd.h>
Include dependency graph for net_utils.cc:

Go to the source code of this file.

Namespaces

 rc
 

Functions

bool rc::getThisHostsIP (string &this_hosts_ip, const string &other_hosts_ip, const string &network_interface)
 
uint32_t rc::ipToUInt (const std::string &ip)
 Converts a string-represented ip into uint (e.g. More...
 
bool rc::isIPInRange (const std::string &ip, const std::string &network, const std::string &mask)
 Checks if a given ip is in range of a network defined by ip/subnet taken from: https://www.stev.org/post/ccheckanipaddressisinaipmask. More...
 
bool rc::isValidIPAddress (const std::string &ip)
 Checks if given string is a valid IP address. More...
 


rc_dynamics_api
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Endres
autogenerated on Thu May 9 2019 02:51:36