DSR Send Buffer Entry. More...
#include <dsr-rsendbuff.h>
Public Member Functions | |
SendBuffEntry (Ptr< const Packet > pa=0, Ipv4Address d=Ipv4Address(), Time exp=Simulator::Now(), uint8_t p=0) | |
bool | operator== (SendBuffEntry const &o) const |
Ptr< const Packet > | GetPacket () const |
void | SetPacket (Ptr< const Packet > p) |
Ipv4Address | GetDestination () const |
void | SetDestination (Ipv4Address d) |
void | SetExpireTime (Time exp) |
Time | GetExpireTime () const |
void | SetProtocol (uint8_t p) |
uint8_t | GetProtocol () const |
Private Attributes | |
Ipv4Address | m_dst |
Time | m_expire |
Ptr< const Packet > | m_packet |
uint8_t | m_protocol |
DSR Send Buffer Entry.
Definition at line 45 of file dsr-rsendbuff.h.
|
inline |
Definition at line 49 of file dsr-rsendbuff.h.
|
inline |
Definition at line 75 of file dsr-rsendbuff.h.
References m_dst.
Referenced by ns3::dsr::SendBuffer::Drop(), ns3::dsr::SendBuffer::Enqueue(), and ns3::dsr::SendBuffer::IsEqual().
|
inline |
Definition at line 87 of file dsr-rsendbuff.h.
References m_expire, and ns3::Now().
Referenced by ns3::dsr::IsExpired::operator()().
Definition at line 67 of file dsr-rsendbuff.h.
References m_packet.
Referenced by ns3::dsr::SendBuffer::Dequeue(), ns3::dsr::SendBuffer::Drop(), ns3::dsr::SendBuffer::Enqueue(), and ns3::dsr::DsrRouting::SendPacketFromBuffer().
|
inline |
Definition at line 95 of file dsr-rsendbuff.h.
References m_protocol.
|
inline |
|
inline |
Definition at line 79 of file dsr-rsendbuff.h.
References m_dst.
|
inline |
Definition at line 83 of file dsr-rsendbuff.h.
References m_expire, and ns3::Now().
Referenced by ns3::dsr::SendBuffer::Enqueue().
Definition at line 71 of file dsr-rsendbuff.h.
References m_packet.
|
inline |
Definition at line 91 of file dsr-rsendbuff.h.
References m_protocol.
|
private |
Definition at line 104 of file dsr-rsendbuff.h.
Referenced by GetDestination(), operator==(), and SetDestination().
|
private |
Definition at line 106 of file dsr-rsendbuff.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
Definition at line 102 of file dsr-rsendbuff.h.
Referenced by GetPacket(), operator==(), and SetPacket().
|
private |
Definition at line 108 of file dsr-rsendbuff.h.
Referenced by GetProtocol(), and SetProtocol().