A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::dsr::MaintainBuffer Class Reference

DSR maintain buffer. More...

#include <dsr-maintain-buff.h>

Public Member Functions

bool Dequeue (Ipv4Address dst, MaintainBuffEntry &entry)
void DropPacketWithNextHop (Ipv4Address nextHop)
bool Enqueue (MaintainBuffEntry &entry)
bool Find (Ipv4Address nextHop)
uint32_t GetSize ()
uint32_t GetMaxQueueLen () const
void SetMaxQueueLen (uint32_t len)
Time GetMaintainBufferTimeout () const
void SetMaintainBufferTimeout (Time t)
bool AllEqual (MaintainBuffEntry &entry)
bool LinkEqual (MaintainBuffEntry &entry)
bool NetworkEqual (MaintainBuffEntry &entry)
bool PromiscEqual (MaintainBuffEntry &entry)

Private Member Functions

void Purge ()

Static Private Member Functions

static bool IsEqual (MaintainBuffEntry en, const Ipv4Address nextHop)

Private Attributes

std::vector< NetworkKeym_allNetworkKey
std::vector< MaintainBuffEntrym_maintainBuffer
Time m_maintainBufferTimeout
uint32_t m_maxLen

Detailed Description

DSR maintain buffer.

Definition at line 219 of file dsr-maintain-buff.h.

The documentation for this class was generated from the following files: