#include <hna.hh>
Public Member Functions | |
| HNAEntry (const address_t &gaddr, const address_t &naddr, unsigned prefix, const timeval_t &v) | |
| virtual | ~HNAEntry () |
| const address_t & | gw_addr () const |
| const address_t & | net_addr () const |
| unsigned | prefix () const |
| bool | is_valid () const |
| void | set_time (const timeval_t &t) |
| const timeval_t & | time () const |
| bool | operator< (const This &rhs) const |
Static Public Member Functions | |
| static This | make_key (const address_t &gaddr, const address_t &naddr, unsigned prefix) |
Private Types | |
| typedef HNAEntry | This |
Private Member Functions | |
| HNAEntry () | |
Private Attributes | |
| const address_t | g_addr_ |
| const address_t | n_addr_ |
| const unsigned | prefix_ |
| timeval_t | time_ |
Static Private Attributes | |
| static This | dummy_for_find_ |
Friends | |
| class | sch::StatePrinter |
typedef HNAEntry olsr::set::HNAEntry::This [private] |
| olsr::set::HNAEntry::HNAEntry | ( | ) | [inline, private] |
| olsr::set::HNAEntry::HNAEntry | ( | const address_t & | gaddr, | |
| const address_t & | naddr, | |||
| unsigned | prefix, | |||
| const timeval_t & | v | |||
| ) | [inline] |
| virtual olsr::set::HNAEntry::~HNAEntry | ( | ) | [inline, virtual] |
| unsigned olsr::set::HNAEntry::prefix | ( | ) | const [inline] |
References prefix_.
| bool olsr::set::HNAEntry::is_valid | ( | ) | const [inline] |
References olsr::utl::TimeVal::is_past(), and time_.
| const timeval_t& olsr::set::HNAEntry::time | ( | ) | const [inline] |
| bool olsr::set::HNAEntry::operator< | ( | const This & | rhs | ) | const [inline] |
| HNAEntry olsr::set::HNAEntry::make_key | ( | const address_t & | gaddr, | |
| const address_t & | naddr, | |||
| unsigned | prefix | |||
| ) | [inline, static] |
References dummy_for_find_, g_addr_, n_addr_, and prefix_.
friend class sch::StatePrinter [friend] |
const address_t olsr::set::HNAEntry::g_addr_ [private] |
Referenced by gw_addr(), make_key(), and operator<().
const address_t olsr::set::HNAEntry::n_addr_ [private] |
Referenced by make_key(), net_addr(), and operator<().
const unsigned olsr::set::HNAEntry::prefix_ [private] |
Referenced by make_key(), operator<(), and prefix().
timeval_t olsr::set::HNAEntry::time_ [private] |
Referenced by is_valid(), set_time(), and time().
This olsr::set::HNAEntry::dummy_for_find_ [static, private] |
Referenced by make_key().
1.5.6