#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] |
virtual olsr::set::DuplicateEntry::~DuplicateEntry | ( | ) | [inline, virtual] |
bool olsr::set::DuplicateEntry::is_valid | ( | ) | const [inline] |
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] |
bool olsr::set::DuplicateEntry::retransmitted | ( | ) | const [inline] |
void olsr::set::DuplicateEntry::set_retransmitted | ( | ) | [inline] |
ifaces_t& olsr::set::DuplicateEntry::ifaces | ( | ) | [inline] |
const ifaces_t& olsr::set::DuplicateEntry::ifaces | ( | ) | const [inline] |
bool olsr::set::DuplicateEntry::in_ifaces | ( | const address_t & | a | ) | const [inline] |
void olsr::set::DuplicateEntry::add_iface | ( | const address_t & | a | ) | [inline] |
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] |
friend class sch::StatePrinter [friend] |
const address_t olsr::set::DuplicateEntry::addr_ [private] |
const u_int16_t olsr::set::DuplicateEntry::seqnum_ [private] |
bool olsr::set::DuplicateEntry::retransmitted_ [private] |
ifaces_t olsr::set::DuplicateEntry::ifaces_ [private] |
timeval_t olsr::set::DuplicateEntry::time_ [private] |
This olsr::set::DuplicateEntry::dummy_for_find_ [static, private] |