#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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|