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

DSR Passive Buffer Entry. More...

#include <dsr-passive-buff.h>

Public Member Functions

 PassiveBuffEntry (Ptr< const Packet > pa=0, Ipv4Address d=Ipv4Address(), Ipv4Address s=Ipv4Address(), Ipv4Address n=Ipv4Address(), uint16_t i=0, uint16_t f=0, uint8_t seg=0, Time exp=Simulator::Now(), uint8_t p=0)
bool operator== (PassiveBuffEntry const &o) const
Ptr< const PacketGetPacket () const
void SetPacket (Ptr< const Packet > p)
Ipv4Address GetDestination () const
void SetDestination (Ipv4Address d)
Ipv4Address GetSource () const
void SetSource (Ipv4Address s)
Ipv4Address GetNextHop () const
void SetNextHop (Ipv4Address n)
uint16_t GetIdentification () const
void SetIdentification (uint16_t i)
uint16_t GetFragmentOffset () const
void SetFragmentOffset (uint16_t f)
uint8_t GetSegsLeft () const
void SetSegsLeft (uint8_t seg)
void SetExpireTime (Time exp)
Time GetExpireTime () const
void SetProtocol (uint8_t p)
uint8_t GetProtocol () const

Private Attributes

Ipv4Address m_dst
Time m_expire
uint16_t m_fragmentOffset
uint16_t m_identification
Ipv4Address m_nextHop
Ptr< const Packetm_packet
uint8_t m_protocol
uint8_t m_segsLeft
Ipv4Address m_source

Detailed Description

DSR Passive Buffer Entry.

Definition at line 45 of file dsr-passive-buff.h.

Member Function Documentation

bool ns3::dsr::PassiveBuffEntry::operator== ( PassiveBuffEntry const &  o) const

Compare send buffer entries

true if equal

Definition at line 67 of file dsr-passive-buff.h.

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