All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
NetUtils.hh File Reference
#include <string>
#include <vector>
#include "ignition/transport/Helpers.hh"
Include dependency graph for NetUtils.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ignition
 
 ignition::transport
 

Functions

IGNITION_TRANSPORT_VISIBLE
std::string 
ignition::transport::determineHost ()
 Determine IP or hostname. More...
 
IGNITION_TRANSPORT_VISIBLE
std::vector< std::string > 
ignition::transport::determineInterfaces ()
 Determine the list of network interfaces for this machine. More...
 
IGNITION_TRANSPORT_VISIBLE
std::string 
ignition::transport::hostname ()
 Determine the computer's hostname. More...
 
int ignition::transport::hostnameToIp (char *_hostname, std::string &_ip)
 Determine if an IP is private. More...
 
bool ignition::transport::isPrivateIP (const char *_ip)
 Determine if an IP is private. More...
 
IGNITION_TRANSPORT_VISIBLE
std::string 
ignition::transport::username ()
 Determine your login name. More...