#include <aodv-rqueue.h>
Collaboration diagram for ns3::aodv::QueueEntry:Public Types | |
| typedef Ipv4RoutingProtocol::ErrorCallback | ErrorCallback |
| typedef Ipv4RoutingProtocol::UnicastForwardCallback | UnicastForwardCallback |
Public Member Functions | |
| QueueEntry (Ptr< const Packet > pa=0, Ipv4Header const &h=Ipv4Header(), UnicastForwardCallback ucb=UnicastForwardCallback(), ErrorCallback ecb=ErrorCallback(), Time exp=Simulator::Now()) | |
| c-tor More... | |
| ErrorCallback | GetErrorCallback () const |
| Time | GetExpireTime () const |
| Ipv4Header | GetIpv4Header () const |
| Ptr< const Packet > | GetPacket () const |
| UnicastForwardCallback | GetUnicastForwardCallback () const |
| bool | operator== (QueueEntry const &o) const |
| Compare queue entries. More... | |
| void | SetErrorCallback (ErrorCallback ecb) |
| void | SetExpireTime (Time exp) |
| void | SetIpv4Header (Ipv4Header h) |
| void | SetPacket (Ptr< const Packet > p) |
| void | SetUnicastForwardCallback (UnicastForwardCallback ucb) |
Private Attributes | |
| ErrorCallback | m_ecb |
| Error callback. More... | |
| Time | m_expire |
| Expire time for queue entry. More... | |
| Ipv4Header | m_header |
| IP header. More... | |
| Ptr< const Packet > | m_packet |
| Data packet. More... | |
| UnicastForwardCallback | m_ucb |
| Unicast forward callback. More... | |
AODV Queue Entry.
Definition at line 43 of file aodv-rqueue.h.
Definition at line 47 of file aodv-rqueue.h.
Definition at line 46 of file aodv-rqueue.h.
|
inline |
c-tor
Definition at line 49 of file aodv-rqueue.h.
|
inline |
Definition at line 68 of file aodv-rqueue.h.
References m_ecb.
Referenced by ns3::aodv::QueueEntryTest::DoRun(), and ns3::aodv::RequestQueue::Drop().
Here is the caller graph for this function:
|
inline |
Definition at line 75 of file aodv-rqueue.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::aodv::QueueEntryTest::DoRun(), and ns3::aodv::IsExpired::operator()().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 72 of file aodv-rqueue.h.
References m_header.
Referenced by ns3::aodv::QueueEntryTest::DoRun(), ns3::aodv::RequestQueue::Drop(), ns3::aodv::RequestQueue::Enqueue(), ns3::aodv::RequestQueue::IsEqual(), and ns3::aodv::RoutingProtocol::SendPacketFromQueue().
Here is the caller graph for this function:Definition at line 70 of file aodv-rqueue.h.
References m_packet.
Referenced by ns3::aodv::QueueEntryTest::DoRun(), ns3::aodv::RequestQueue::Drop(), ns3::aodv::RequestQueue::Enqueue(), and ns3::aodv::RoutingProtocol::SendPacketFromQueue().
Here is the caller graph for this function:
|
inline |
Definition at line 66 of file aodv-rqueue.h.
References m_ucb.
Referenced by ns3::aodv::QueueEntryTest::DoRun(), and ns3::aodv::RoutingProtocol::SendPacketFromQueue().
Here is the caller graph for this function:
|
inline |
Compare queue entries.
Definition at line 60 of file aodv-rqueue.h.
References ns3::Ipv4Header::GetDestination(), m_expire, m_header, and m_packet.
Here is the call graph for this function:
|
inline |
Definition at line 69 of file aodv-rqueue.h.
References m_ecb.
Referenced by ns3::aodv::QueueEntryTest::DoRun().
Here is the caller graph for this function:
|
inline |
Definition at line 74 of file aodv-rqueue.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::aodv::QueueEntryTest::DoRun(), and ns3::aodv::RequestQueue::Enqueue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 73 of file aodv-rqueue.h.
References m_header.
Referenced by ns3::aodv::QueueEntryTest::DoRun().
Here is the caller graph for this function:Definition at line 71 of file aodv-rqueue.h.
References m_packet.
|
inline |
Definition at line 67 of file aodv-rqueue.h.
References m_ucb.
Referenced by ns3::aodv::QueueEntryTest::DoRun().
Here is the caller graph for this function:
|
private |
Error callback.
Definition at line 86 of file aodv-rqueue.h.
Referenced by GetErrorCallback(), and SetErrorCallback().
|
private |
Expire time for queue entry.
Definition at line 88 of file aodv-rqueue.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
|
private |
IP header.
Definition at line 82 of file aodv-rqueue.h.
Referenced by GetIpv4Header(), operator==(), and SetIpv4Header().
Data packet.
Definition at line 80 of file aodv-rqueue.h.
Referenced by GetPacket(), operator==(), and SetPacket().
|
private |
Unicast forward callback.
Definition at line 84 of file aodv-rqueue.h.
Referenced by GetUnicastForwardCallback(), and SetUnicastForwardCallback().