#include <interfaceconfig.hh>
Public Member Functions | |
| InterfaceConfig (const std::string &name) | |
| void | setup () |
| void | revert () |
Private Member Functions | |
| void | get_and_set (const std::string &path, const std::string &value, std::string &old_value) |
| void | set (const std::string &path, const std::string &value) |
Private Attributes | |
| std::string | _name |
| bool | _configured |
| std::string | _accept_redirects |
| std::string | _all_forwarding |
| std::string | _accept_ra |
| std::string | _autoconf |
| std::string | _dad_transmits |
| olsr::sys::internal::InterfaceConfig::InterfaceConfig | ( | const std::string & | name | ) | [inline] |
| void olsr::sys::internal::InterfaceConfig::setup | ( | ) | [inline] |
| void olsr::sys::internal::InterfaceConfig::revert | ( | ) | [inline] |
References _configured, RESET, and RESET_ALL.
Referenced by olsr::net::RealInterface::unconfigure().
| void olsr::sys::internal::InterfaceConfig::get_and_set | ( | const std::string & | path, | |
| const std::string & | value, | |||
| std::string & | old_value | |||
| ) | [inline, private] |
References olsr::debug.
| void olsr::sys::internal::InterfaceConfig::set | ( | const std::string & | path, | |
| const std::string & | value | |||
| ) | [inline, private] |
References olsr::debug.
std::string olsr::sys::internal::InterfaceConfig::_name [private] |
bool olsr::sys::internal::InterfaceConfig::_configured [private] |
std::string olsr::sys::internal::InterfaceConfig::_accept_redirects [private] |
std::string olsr::sys::internal::InterfaceConfig::_all_forwarding [private] |
std::string olsr::sys::internal::InterfaceConfig::_accept_ra [private] |
std::string olsr::sys::internal::InterfaceConfig::_autoconf [private] |
std::string olsr::sys::internal::InterfaceConfig::_dad_transmits [private] |
1.5.6