35 #include "ns3/ipv4-route.h" 
   36 #include "ns3/socket.h" 
   50     .AddConstructor<PassiveBuffer> ()
 
   74   for (std::vector<PassiveBuffEntry>::const_iterator i = 
m_passiveBuffer.begin (); i
 
  107   for (std::vector<PassiveBuffEntry>::iterator i = 
m_passiveBuffer.begin (); i
 
  117           && (i->GetSegsLeft () == entry.
GetSegsLeft () + 1))
 
  135       if (i->GetDestination () == dst)
 
  152   for (std::vector<PassiveBuffEntry>::const_iterator i = 
m_passiveBuffer.begin (); i
 
  155       if (i->GetDestination () == dst)
 
  182   for (std::vector<PassiveBuffEntry>::iterator i = 
m_passiveBuffer.begin (); i
 
  188           Drop (*i, 
"Drop out-dated packet ");
 
bool operator()(ErrorBuffEntry const &e) const 
 
void SetExpireTime(Time exp)
 
NS_OBJECT_ENSURE_REGISTERED(DsrFsHeader)
 
DSR Passive Buffer Entry. 
 
uint64_t GetUid(void) const 
 
#define NS_LOG_COMPONENT_DEFINE(name)
 
uint32_t GetSize(void) const 
 
uint16_t GetFragmentOffset() const 
 
bool Enqueue(PassiveBuffEntry &entry)
 
bool Dequeue(Ipv4Address dst, PassiveBuffEntry &entry)
 
static TypeId GetTypeId()
Get the type identificator. 
 
Ipv4Address GetSource() const 
 
bool AllEqual(PassiveBuffEntry &entry)
 
Time m_passiveBufferTimeout
 
uint8_t GetSegsLeft() const 
 
#define NS_LOG_LOGIC(msg)
 
uint16_t GetIdentification() const 
 
void DropLink(PassiveBuffEntry en, std::string reason)
 
virtual ~PassiveBuffer()
Destructor. 
 
std::vector< PassiveBuffEntry > m_passiveBuffer
 
void Drop(PassiveBuffEntry en, std::string reason)
 
Time GetExpireTime() const 
 
PassiveBuffer()
Constructor. 
 
Ipv4 addresses are stored in host order in this class. 
 
#define NS_LOG_DEBUG(msg)
 
Ptr< const Packet > GetPacket() const 
 
a base class which provides memory management and object aggregation 
 
Ipv4Address GetDestination() const 
 
Ipv4Address GetNextHop() const 
 
bool Find(Ipv4Address dst)
 
a unique identifier for an interface. 
 
TypeId SetParent(TypeId tid)