#include <realinterfaceinfo.hh>
Public Types | |
typedef sys::internal::InterfaceConfig | config_t |
Public Member Functions | |
RealInterfaceInfo () | |
RealInterfaceInfo (const std::string &name) | |
This & | operator= (const This &other) |
const std::string & | name () const |
unsigned | mtu () const |
unsigned | index () const |
const address_t & | get_addr () const |
const address_t & | get_addr (const address_t &) const |
const address_t | get_bcast (const address_t &) const |
unsigned | get_prefix (const address_t &) const |
void | add_addr (const address_t &, unsigned) |
void | del_addr (const address_t &) |
Private Types | |
typedef RealInterfaceInfo | This |
typedef internal::InterfaceAddress | addr_t |
typedef std::set< addr_t > | addrs_t |
Private Attributes | |
const std::string | _name |
unsigned | _mtu |
unsigned | _index |
addrs_t | _addrs |
typedef RealInterfaceInfo olsr::sys::RealInterfaceInfo::This [private] |
typedef internal::InterfaceAddress olsr::sys::RealInterfaceInfo::addr_t [private] |
typedef std::set<addr_t> olsr::sys::RealInterfaceInfo::addrs_t [private] |
olsr::sys::RealInterfaceInfo::RealInterfaceInfo | ( | ) | [inline] |
olsr::sys::RealInterfaceInfo::RealInterfaceInfo | ( | const std::string & | name | ) | [inline, explicit] |
RealInterfaceInfo & olsr::sys::RealInterfaceInfo::operator= | ( | const This & | other | ) | [inline] |
const std::string& olsr::sys::RealInterfaceInfo::name | ( | ) | const [inline] |
unsigned olsr::sys::RealInterfaceInfo::mtu | ( | ) | const [inline] |
unsigned olsr::sys::RealInterfaceInfo::index | ( | ) | const [inline] |
const address_t & olsr::sys::RealInterfaceInfo::get_addr | ( | ) | const [inline] |
unsigned olsr::sys::RealInterfaceInfo::get_prefix | ( | const address_t & | ) | const [inline] |
void olsr::sys::RealInterfaceInfo::add_addr | ( | const address_t & | , | |
unsigned | ||||
) | [inline] |
void olsr::sys::RealInterfaceInfo::del_addr | ( | const address_t & | ) | [inline] |
const std::string olsr::sys::RealInterfaceInfo::_name [private] |
unsigned olsr::sys::RealInterfaceInfo::_mtu [private] |
unsigned olsr::sys::RealInterfaceInfo::_index [private] |
addrs_t olsr::sys::RealInterfaceInfo::_addrs [private] |