Routing table entry. More...
#include <dsdv-rtable.h>
Public Member Functions | |
RoutingTableEntry (Ptr< NetDevice > dev=0, Ipv4Address dst=Ipv4Address(), u_int32_t m_seqNo=0, Ipv4InterfaceAddress iface=Ipv4InterfaceAddress(), u_int32_t hops=0, Ipv4Address nextHop=Ipv4Address(), Time lifetime=Simulator::Now(), Time SettlingTime=Simulator::Now(), bool changedEntries=false) | |
Ipv4Address | GetDestination () const |
Ptr< Ipv4Route > | GetRoute () const |
void | SetRoute (Ptr< Ipv4Route > route) |
void | SetNextHop (Ipv4Address nextHop) |
Ipv4Address | GetNextHop () const |
void | SetOutputDevice (Ptr< NetDevice > device) |
Ptr< NetDevice > | GetOutputDevice () const |
Ipv4InterfaceAddress | GetInterface () const |
void | SetInterface (Ipv4InterfaceAddress iface) |
void | SetSeqNo (uint32_t sequenceNumber) |
uint32_t | GetSeqNo () const |
void | SetHop (uint32_t hopCount) |
uint32_t | GetHop () const |
void | SetLifeTime (Time lifeTime) |
Time | GetLifeTime () const |
void | SetSettlingTime (Time settlingTime) |
Time | GetSettlingTime () const |
void | SetFlag (RouteFlags flag) |
RouteFlags | GetFlag () const |
void | SetEntriesChanged (bool entriesChanged) |
bool | GetEntriesChanged () const |
bool | operator== (Ipv4Address const destination) const |
Compare destination address. | |
void | Print (Ptr< OutputStreamWrapper > stream) const |
Routing table entry.
bool ns3::dsdv::RoutingTableEntry::operator== | ( | Ipv4Address const | destination | ) | const [inline] |
Compare destination address.