Jetson Inference
DNN Vision Library
|
Go to the source code of this file.
Classes | |
struct | NetworkInterface |
Info about a particular network interface. More... | |
struct | NetworkInterface::IPv4 |
struct | NetworkInterface::IPv6 |
Macros | |
#define | LOG_NETWORK "[network] " |
LOG_NETWORK logging string. More... | |
Functions | |
std::string | getHostname () |
Retrieve the host system's network hostname. More... | |
std::string | getHostByName (const char *name, uint32_t retries=10) |
Resolve the IP address of a given hostname or domain using DNS lookup, and return it as a string. More... | |
uint32_t | getHostByName (const char *name, void *ipAddress, uint32_t size, uint32_t retries=10) |
Resolve the IP address of a given hostname or domain using DNS lookup. More... | |
std::vector< NetworkInterface > | getNetworkInterfaces () |
Retrieve info about the different IPv4/IPv6 network interfaces of the system. More... | |
int | findNetworkInterface (const std::vector< NetworkInterface > &interfaces, const char *name) |
Find the index of a network interface by name from the list of interfaces. More... | |
void | printNetworkInterfaces (const std::vector< NetworkInterface > &interfaces) |
Print out a list of network interfaces. More... | |
int findNetworkInterface | ( | const std::vector< NetworkInterface > & | interfaces, |
const char * | name | ||
) |
Find the index of a network interface by name from the list of interfaces.