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:246
uint16_t HostToNetwork(uint16_t value)
16-bit unsigned host to network conversion.
Definition: NetworkUtils.cpp:155
string FullHostname()
Definition: NetworkUtils.cpp:277
uint16_t NetworkToHost(uint16_t value)
16-bit unsigned network to host conversion.
Definition: NetworkUtils.cpp:139
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:203
string FQDN()
Definition: NetworkUtils.cpp:261
string DomainName()
Definition: NetworkUtils.cpp:256
bool NameServers(vector< IPV4Address > *name_servers)
Definition: NetworkUtils.cpp:287
bool DefaultRoute(int32_t *if_index, IPV4Address *default_gateway)
Definition: NetworkUtils.cpp:600
Represents an IPv4 Address.
string Hostname()
Definition: NetworkUtils.cpp:282
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
string HostnameFromFQDN(const string &fqdn)
Definition: NetworkUtils.cpp:238
uint16_t HostToLittleEndian(uint16_t value)
16-bit unsigned host to little endian conversion.
Definition: NetworkUtils.cpp:171