DSR Error Buffer Entry. More...
#include <dsr-errorbuff.h>
Public Member Functions | |
ErrorBuffEntry (Ptr< const Packet > pa=0, Ipv4Address d=Ipv4Address(), Ipv4Address s=Ipv4Address(), Ipv4Address n=Ipv4Address(), Time exp=Simulator::Now(), uint8_t p=0) | |
bool | operator== (ErrorBuffEntry const &o) const |
Ptr< const Packet > | GetPacket () 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) |
void | SetExpireTime (Time exp) |
Time | GetExpireTime () const |
void | SetProtocol (uint8_t p) |
uint8_t | GetProtocol () const |
Private Attributes | |
Ipv4Address | m_dst |
Time | m_expire |
Ipv4Address | m_nextHop |
Ptr< const Packet > | m_packet |
uint8_t | m_protocol |
Ipv4Address | m_source |
DSR Error Buffer Entry.
Definition at line 45 of file dsr-errorbuff.h.
|
inline |
Definition at line 49 of file dsr-errorbuff.h.
|
inline |
Definition at line 77 of file dsr-errorbuff.h.
References m_dst.
Referenced by ns3::dsr::ErrorBuffer::Drop(), and ns3::dsr::ErrorBuffer::Enqueue().
|
inline |
Definition at line 105 of file dsr-errorbuff.h.
References m_expire, and ns3::Now().
Referenced by ns3::dsr::IsExpired::operator()().
|
inline |
Definition at line 93 of file dsr-errorbuff.h.
References m_nextHop.
Referenced by ns3::dsr::ErrorBuffer::DropLink(), ns3::dsr::ErrorBuffer::Enqueue(), and ns3::dsr::ErrorBuffer::LinkEqual().
Definition at line 69 of file dsr-errorbuff.h.
References m_packet.
Referenced by ns3::dsr::ErrorBuffer::Dequeue(), ns3::dsr::ErrorBuffer::Drop(), ns3::dsr::ErrorBuffer::DropLink(), ns3::dsr::ErrorBuffer::Enqueue(), and ns3::dsr::DsrRouting::SendPacketFromBuffer().
|
inline |
Definition at line 113 of file dsr-errorbuff.h.
References m_protocol.
|
inline |
Definition at line 85 of file dsr-errorbuff.h.
References m_source.
Referenced by ns3::dsr::ErrorBuffer::DropLink(), ns3::dsr::ErrorBuffer::Enqueue(), and ns3::dsr::ErrorBuffer::LinkEqual().
|
inline |
|
inline |
Definition at line 81 of file dsr-errorbuff.h.
References m_dst.
|
inline |
Definition at line 101 of file dsr-errorbuff.h.
References m_expire, and ns3::Now().
Referenced by ns3::dsr::ErrorBuffer::Enqueue().
|
inline |
Definition at line 97 of file dsr-errorbuff.h.
References m_nextHop.
Definition at line 73 of file dsr-errorbuff.h.
References m_packet.
|
inline |
Definition at line 109 of file dsr-errorbuff.h.
References m_protocol.
|
inline |
Definition at line 89 of file dsr-errorbuff.h.
|
private |
Definition at line 122 of file dsr-errorbuff.h.
Referenced by GetDestination(), operator==(), and SetDestination().
|
private |
Definition at line 128 of file dsr-errorbuff.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
|
private |
Definition at line 126 of file dsr-errorbuff.h.
Referenced by GetNextHop(), operator==(), and SetNextHop().
Definition at line 120 of file dsr-errorbuff.h.
Referenced by GetPacket(), operator==(), and SetPacket().
|
private |
Definition at line 130 of file dsr-errorbuff.h.
Referenced by GetProtocol(), and SetProtocol().
|
private |
Definition at line 124 of file dsr-errorbuff.h.
Referenced by GetSource(), operator==(), and SetSource().