DSR Send Buffer Entry. More...
#include <dsr-rsendbuff.h>
Collaboration diagram for ns3::dsr::SendBuffEntry: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... | |
| Ipv4Address | GetDestination () const |
| Time | GetExpireTime () const |
| Ptr< const Packet > | GetPacket () const |
| uint8_t | GetProtocol () const |
| bool | operator== (SendBuffEntry const &o) const |
| Compare send buffer entries. More... | |
| void | SetDestination (Ipv4Address d) |
| void | SetExpireTime (Time exp) |
| void | SetPacket (Ptr< const Packet > p) |
| void | SetProtocol (uint8_t p) |
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().
Here is the caller graph for this function:
|
inline |
Definition at line 95 of file dsr-rsendbuff.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::IsExpired::operator()().
Here is the call graph for this function:
Here is the caller graph for this function: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().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function: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().