maintain the gratuitous reply More...
#include <dsr-gratuitous-reply-table.h>
Classes | |
struct | IsExpired |
Public Member Functions | |
GraReply () | |
Constructor. | |
virtual | ~GraReply () |
Destructor. | |
bool | AddEntry (GraReplyEntry &graTableEntry) |
void | Clear () |
bool | FindAndUpdate (Ipv4Address replyTo, Ipv4Address replyFrom, Time gratReplyHoldoff) |
uint32_t | GetGraTableSize () const |
void | Purge () |
void | SetGraTableSize (uint32_t g) |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Start (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type identificator. |
Private Attributes | |
uint32_t | GraReplyTableSize |
std::vector< GraReplyEntry > | m_graReply |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoStart (void) |
virtual void | NotifyNewAggregate (void) |
maintain the gratuitous reply
Definition at line 65 of file dsr-gratuitous-reply-table.h.
ns3::dsr::GraReply::GraReply | ( | ) |
Constructor.
Definition at line 52 of file dsr-gratuitous-reply-table.cc.
|
virtual |
Destructor.
Definition at line 56 of file dsr-gratuitous-reply-table.cc.
References NS_LOG_FUNCTION_NOARGS.
bool ns3::dsr::GraReply::AddEntry | ( | GraReplyEntry & | graTableEntry | ) |
Definition at line 79 of file dsr-gratuitous-reply-table.cc.
References m_graReply.
Referenced by ns3::dsr::DsrRouting::SendGratuitousReply().
|
inline |
Definition at line 99 of file dsr-gratuitous-reply-table.h.
References m_graReply.
bool ns3::dsr::GraReply::FindAndUpdate | ( | Ipv4Address | replyTo, |
Ipv4Address | replyFrom, | ||
Time | gratReplyHoldoff | ||
) |
Definition at line 62 of file dsr-gratuitous-reply-table.cc.
References m_graReply, ns3::Simulator::Now(), NS_LOG_DEBUG, and Purge().
Referenced by ns3::dsr::DsrRouting::SendGratuitousReply().
|
inline |
Definition at line 88 of file dsr-gratuitous-reply-table.h.
References GraReplyTableSize.
|
static |
Get the type identificator.
This method returns the TypeId associated to ns3::dsr::GraReply.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Definition at line 43 of file dsr-gratuitous-reply-table.cc.
References ns3::TypeId::SetParent().
void ns3::dsr::GraReply::Purge | ( | ) |
Definition at line 86 of file dsr-gratuitous-reply-table.cc.
References m_graReply.
Referenced by FindAndUpdate().
|
inline |
Definition at line 83 of file dsr-gratuitous-reply-table.h.
References GraReplyTableSize.
Referenced by ns3::dsr::DsrRouting::Start().
|
private |
Definition at line 108 of file dsr-gratuitous-reply-table.h.
Referenced by GetGraTableSize(), and SetGraTableSize().
|
private |
Definition at line 106 of file dsr-gratuitous-reply-table.h.
Referenced by AddEntry(), Clear(), FindAndUpdate(), and Purge().