Namespaces | Functions
net_utils.h File Reference
#include <string>
#include <stdint.h>
Include dependency graph for net_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 rc
 

Functions

bool rc::getThisHostsIP (std::string &this_hosts_ip, const std::string &other_hosts_ip, const std::string &network_interface="")
 Convenience function to scan this host's (multiple) network interface(s) for a valid IP address. More...
 
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 Sat Mar 6 2021 03:53:19