Open Lighting Architecture
0.9.6
|
A NetworkManager which reflects the actual host network configuration.
Public Member Functions | |
const ola::network::InterfacePicker * | GetInterfacePicker () const |
rdm_dhcp_status | GetDHCPStatus (const ola::network::Interface &iface) const |
bool | GetIPV4DefaultRoute (int32_t *if_index, ola::network::IPV4Address *default_route) const |
const std::string | GetHostname () const |
const std::string | GetDomainName () const |
bool | GetNameServers (std::vector< ola::network::IPV4Address > *name_servers) const |
|
virtual |
Get the DHCP status of an interface
iface | the interface to check the DHCP status of |
Implements ola::rdm::NetworkManagerInterface.
|
virtual |
Get the domain name
Implements ola::rdm::NetworkManagerInterface.
|
virtual |
Get the hostname
Implements ola::rdm::NetworkManagerInterface.
|
virtual |
Get the interface picker
Implements ola::rdm::NetworkManagerInterface.
|
virtual |
Get the IPv4 default route
[out] | if_index | the index of the interface the machine's default is on |
[out] | default_route | the machine's default route as an IPV4Address object |
Implements ola::rdm::NetworkManagerInterface.
|
virtual |
Get name servers
Implements ola::rdm::NetworkManagerInterface.