#include "dsdv-packet-queue.h"
 Collaboration diagram for ns3::dsdv::QueueEntry:
 Collaboration diagram for ns3::dsdv::QueueEntry:| Public Types | |
| typedef Ipv4RoutingProtocol::ErrorCallback | ErrorCallback | 
| Error callback function typedef.  More... | |
| typedef Ipv4RoutingProtocol::UnicastForwardCallback | UnicastForwardCallback | 
| Unicast forward call back function typedef.  More... | |
| Public Member Functions | |
| QueueEntry (Ptr< const Packet > pa=0, Ipv4Header const &h=Ipv4Header(), UnicastForwardCallback ucb=UnicastForwardCallback(), ErrorCallback ecb=ErrorCallback()) | |
| c-tor  More... | |
| ErrorCallback | GetErrorCallback () const | 
| Get error callback function.  More... | |
| Time | GetExpireTime () const | 
| Get expire time.  More... | |
| Ipv4Header | GetIpv4Header () const | 
| Get IP header.  More... | |
| Ptr< const Packet > | GetPacket () const | 
| Get packet.  More... | |
| UnicastForwardCallback | GetUnicastForwardCallback () const | 
| Get unicast forward callback function.  More... | |
| bool | operator== (QueueEntry const &o) const | 
| Compare queue entries.  More... | |
| void | SetErrorCallback (ErrorCallback ecb) | 
| Set error callback function.  More... | |
| void | SetExpireTime (Time exp) | 
| Set expire time.  More... | |
| void | SetIpv4Header (Ipv4Header h) | 
| Set IP header.  More... | |
| void | SetPacket (Ptr< const Packet > p) | 
| Set packet.  More... | |
| void | SetUnicastForwardCallback (UnicastForwardCallback ucb) | 
| Set unicast forward callback function.  More... | |
| 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... | |
DSDV Queue Entry.
Definition at line 45 of file dsdv-packet-queue.h.
Error callback function typedef.
Definition at line 51 of file dsdv-packet-queue.h.
Unicast forward call back function typedef.
Definition at line 49 of file dsdv-packet-queue.h.
| 
 | inline | 
c-tor
| pa | the packet to create the entry | 
| h | the Ipv4Header | 
| ucb | the UnicastForwardCallback function | 
| ecb | the ErrorCallback function | 
Definition at line 60 of file dsdv-packet-queue.h.
| 
 | inline | 
Get error callback function.
Definition at line 102 of file dsdv-packet-queue.h.
References m_ecb.
| 
 | inline | 
Get expire time.
Definition at line 158 of file dsdv-packet-queue.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsdv::IsExpired::operator()().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Get IP header.
Definition at line 134 of file dsdv-packet-queue.h.
References m_header.
Referenced by ns3::dsdv::PacketQueue::Drop(), ns3::dsdv::PacketQueue::Enqueue(), ns3::dsdv::PacketQueue::IsEqual(), and ns3::dsdv::RoutingProtocol::SendPacketFromQueue().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Get packet.
Definition at line 118 of file dsdv-packet-queue.h.
References m_packet.
Referenced by ns3::dsdv::PacketQueue::Drop(), ns3::dsdv::PacketQueue::Enqueue(), and ns3::dsdv::RoutingProtocol::SendPacketFromQueue().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Get unicast forward callback function.
Definition at line 86 of file dsdv-packet-queue.h.
References m_ucb.
Referenced by ns3::dsdv::RoutingProtocol::SendPacketFromQueue().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Compare queue entries.
| o | QueueEntry to compare | 
Definition at line 76 of file dsdv-packet-queue.h.
References ns3::Ipv4Header::GetDestination(), m_expire, m_header, and m_packet.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Set error callback function.
| ecb | the error callback | 
Definition at line 110 of file dsdv-packet-queue.h.
References m_ecb.
| 
 | inline | 
Set expire time.
| exp | 
Definition at line 150 of file dsdv-packet-queue.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsdv::PacketQueue::Enqueue().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Set IP header.
| h | The IPv4 header | 
Definition at line 142 of file dsdv-packet-queue.h.
References m_header.
Set packet.
| p | The current packet | 
Definition at line 126 of file dsdv-packet-queue.h.
References m_packet.
| 
 | inline | 
Set unicast forward callback function.
| ucb | the unicast forward callback | 
Definition at line 94 of file dsdv-packet-queue.h.
References m_ucb.
| 
 | private | 
Error callback.
Definition at line 171 of file dsdv-packet-queue.h.
Referenced by GetErrorCallback(), and SetErrorCallback().
| 
 | private | 
Expire time for queue entry.
Definition at line 173 of file dsdv-packet-queue.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
| 
 | private | 
IP header.
Definition at line 167 of file dsdv-packet-queue.h.
Referenced by GetIpv4Header(), operator==(), and SetIpv4Header().
Data packet.
Definition at line 165 of file dsdv-packet-queue.h.
Referenced by GetPacket(), operator==(), and SetPacket().
| 
 | private | 
Unicast forward callback.
Definition at line 169 of file dsdv-packet-queue.h.
Referenced by GetUnicastForwardCallback(), and SetUnicastForwardCallback().