maintain the gratuitous reply More...
#include <dsr-gratuitous-reply-table.h>
Inheritance diagram for ns3::dsr::GraReply:
Collaboration diagram for ns3::dsr::GraReply: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) |
Public Member Functions inherited from ns3::Object | |
| 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 | Initialize (void) |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
| SimpleRefCount () | |
| SimpleRefCount (const SimpleRefCount &o) | |
| uint32_t | GetReferenceCount (void) const |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| void | Ref (void) const |
| void | Unref (void) const |
Public Member Functions inherited from ns3::ObjectBase | |
| 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 | |
Protected Member Functions inherited from ns3::Object | |
| Object (const Object &o) | |
| virtual void | DoDispose (void) |
| virtual void | DoInitialize (void) |
| virtual void | NotifyNewAggregate (void) |
maintain the gratuitous reply
Doxygen introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.
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().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 88 of file dsr-gratuitous-reply-table.h.
References GraReplyTableSize.
|
static |
Get the type identificator.
Reimplemented from ns3::Object.
Definition at line 43 of file dsr-gratuitous-reply-table.cc.
References ns3::TypeId::SetParent().
Here is the call graph for this function:| void ns3::dsr::GraReply::Purge | ( | ) |
Definition at line 86 of file dsr-gratuitous-reply-table.cc.
References m_graReply.
Referenced by FindAndUpdate().
Here is the caller graph for this function:
|
inline |
Definition at line 83 of file dsr-gratuitous-reply-table.h.
References GraReplyTableSize.
Referenced by ns3::dsr::DsrRouting::Start().
Here is the caller graph for this function:
|
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().