18 #ifndef IGN_TRANSPORT_NETUTILS_HH_
19 #define IGN_TRANSPORT_NETUTILS_HH_
IGNITION_TRANSPORT_VISIBLE std::string username()
Determine your login name.
#define IGNITION_TRANSPORT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:57
IGNITION_TRANSPORT_VISIBLE std::string determineHost()
Determine IP or hostname.
IGNITION_TRANSPORT_VISIBLE std::string hostname()
Determine the computer's hostname.
bool isPrivateIP(const char *_ip)
Determine if an IP is private.
int hostnameToIp(char *_hostname, std::string &_ip)
Determine if an IP is private.
IGNITION_TRANSPORT_VISIBLE std::vector< std::string > determineInterfaces()
Determine the list of network interfaces for this machine.