#include <duplicate.hh>
Public Member Functions | |
| DuplicateEntry (const address_t &a, u_int16_t s, const address_t &i, bool r) | |
| virtual | ~DuplicateEntry () |
| bool | is_valid () const |
| const timeval_t & | time () const |
| void | set_time (const timeval_t &t=timeval_t::in(cst::dup_hold_time)) |
| bool | retransmitted () const |
| void | set_retransmitted () |
| ifaces_t & | ifaces () |
| const ifaces_t & | ifaces () const |
| bool | in_ifaces (const address_t &a) const |
| void | add_iface (const address_t &a) |
| bool | operator< (const This &rhs) const |
Static Public Member Functions | |
| static This | make_key (const address_t &a, u_int16_t s) |
Private Types | |
| typedef DuplicateEntry | This |
| typedef std::set< address_t > | ifaces_t |
Private Member Functions | |
| DuplicateEntry () | |
Private Attributes | |
| const address_t | addr_ |
| const u_int16_t | seqnum_ |
| bool | retransmitted_ |
| ifaces_t | ifaces_ |
| timeval_t | time_ |
Static Private Attributes | |
| static This | dummy_for_find_ |
Friends | |
| class | sch::StatePrinter |
typedef DuplicateEntry olsr::set::DuplicateEntry::This [private] |
typedef std::set<address_t> olsr::set::DuplicateEntry::ifaces_t [private] |
| olsr::set::DuplicateEntry::DuplicateEntry | ( | ) | [inline, private] |
| olsr::set::DuplicateEntry::DuplicateEntry | ( | const address_t & | a, | |
| u_int16_t | s, | |||
| const address_t & | i, | |||
| bool | r | |||
| ) | [inline] |
References ifaces_.
| virtual olsr::set::DuplicateEntry::~DuplicateEntry | ( | ) | [inline, virtual] |
| bool olsr::set::DuplicateEntry::is_valid | ( | ) | const [inline] |
References olsr::utl::TimeVal::is_past(), and time_.
| const timeval_t& olsr::set::DuplicateEntry::time | ( | ) | const [inline] |
| void olsr::set::DuplicateEntry::set_time | ( | const timeval_t & | t = timeval_t::in(cst::dup_hold_time) |
) | [inline] |
References time_.
| bool olsr::set::DuplicateEntry::retransmitted | ( | ) | const [inline] |
| void olsr::set::DuplicateEntry::set_retransmitted | ( | ) | [inline] |
References retransmitted_.
| ifaces_t& olsr::set::DuplicateEntry::ifaces | ( | ) | [inline] |
| bool olsr::set::DuplicateEntry::in_ifaces | ( | const address_t & | a | ) | const [inline] |
References ifaces_.
| bool olsr::set::DuplicateEntry::operator< | ( | const This & | rhs | ) | const [inline] |
| DuplicateEntry olsr::set::DuplicateEntry::make_key | ( | const address_t & | a, | |
| u_int16_t | s | |||
| ) | [inline, static] |
References addr_, dummy_for_find_, and seqnum_.
Referenced by olsr::msg::Message::forward(), and olsr::msg::Message::parse().
friend class sch::StatePrinter [friend] |
const address_t olsr::set::DuplicateEntry::addr_ [private] |
Referenced by make_key(), and operator<().
const u_int16_t olsr::set::DuplicateEntry::seqnum_ [private] |
Referenced by make_key(), and operator<().
bool olsr::set::DuplicateEntry::retransmitted_ [private] |
Referenced by retransmitted(), and set_retransmitted().
ifaces_t olsr::set::DuplicateEntry::ifaces_ [private] |
Referenced by add_iface(), DuplicateEntry(), ifaces(), and in_ifaces().
timeval_t olsr::set::DuplicateEntry::time_ [private] |
Referenced by is_valid(), set_time(), and time().
This olsr::set::DuplicateEntry::dummy_for_find_ [static, private] |
Referenced by make_key().
1.5.6