21 #ifndef INCLUDE_OLA_NETWORK_NETWORKUTILS_H_ 22 #define INCLUDE_OLA_NETWORK_NETWORKUTILS_H_ 24 #include <ola/network/Interface.h> 196 bool NameServers(std::vector<ola::network::IPV4Address> *name_servers);
215 #endif // INCLUDE_OLA_NETWORK_NETWORKUTILS_H_ string DomainNameFromFQDN(const string &fqdn)
Definition: NetworkUtils.cpp:250
uint16_t HostToNetwork(uint16_t value)
16-bit unsigned host to network conversion.
Definition: NetworkUtils.cpp:159
string FullHostname()
Definition: NetworkUtils.cpp:281
uint16_t NetworkToHost(uint16_t value)
16-bit unsigned network to host conversion.
Definition: NetworkUtils.cpp:143
Represents a IPv4 Address.
Definition: IPV4Address.h:55
uint16_t LittleEndianToHost(uint16_t value)
16-bit unsigned little endian to host conversion.
Definition: NetworkUtils.cpp:207
string FQDN()
Definition: NetworkUtils.cpp:265
string DomainName()
Definition: NetworkUtils.cpp:260
bool NameServers(vector< IPV4Address > *name_servers)
Definition: NetworkUtils.cpp:291
bool DefaultRoute(int32_t *if_index, IPV4Address *default_gateway)
Definition: NetworkUtils.cpp:604
Represents an IPv4 Address.
string Hostname()
Definition: NetworkUtils.cpp:286
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
string HostnameFromFQDN(const string &fqdn)
Definition: NetworkUtils.cpp:242
uint16_t HostToLittleEndian(uint16_t value)
16-bit unsigned host to little endian conversion.
Definition: NetworkUtils.cpp:175