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) | |
Construct SendBuffEntry with the given parameters. More... | |
bool | operator== (SendBuffEntry const &o) const |
Compare send buffer entries. More... | |
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 |
Destination address. More... | |
Time | m_expire |
Expire time for queue entry. More... | |
Ptr< const Packet > | m_packet |
Data packet. More... | |
uint8_t | m_protocol |
The protocol number. More... | |
DSR Send Buffer Entry.
Definition at line 45 of file dsr-rsendbuff.h.
|
inline |
Construct SendBuffEntry with the given parameters.
pa | packet |
d | destination address |
exp | expiration time |
p | protocol number |
Definition at line 56 of file dsr-rsendbuff.h.
|
inline |
Definition at line 83 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 95 of file dsr-rsendbuff.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::IsExpired::operator()().
Definition at line 75 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 103 of file dsr-rsendbuff.h.
References m_protocol.
|
inline |
Compare send buffer entries.
o | another SendBuffEntry |
Definition at line 69 of file dsr-rsendbuff.h.
|
inline |
Definition at line 87 of file dsr-rsendbuff.h.
References m_dst.
|
inline |
Definition at line 91 of file dsr-rsendbuff.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::SendBuffer::Enqueue().
Definition at line 79 of file dsr-rsendbuff.h.
References m_packet.
|
inline |
Definition at line 99 of file dsr-rsendbuff.h.
References m_protocol.
|
private |
Destination address.
Definition at line 112 of file dsr-rsendbuff.h.
Referenced by GetDestination(), operator==(), and SetDestination().
|
private |
Expire time for queue entry.
Definition at line 114 of file dsr-rsendbuff.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
Data packet.
Definition at line 110 of file dsr-rsendbuff.h.
Referenced by GetPacket(), operator==(), and SetPacket().
|
private |
The protocol number.
Definition at line 116 of file dsr-rsendbuff.h.
Referenced by GetProtocol(), and SetProtocol().