#include "dsdv-packet-queue.h"
 Collaboration diagram for ns3::dsdv::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()) | |
| 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... | |
DSDV Queue Entry.
Definition at line 45 of file dsdv-packet-queue.h.
Definition at line 49 of file dsdv-packet-queue.h.
Definition at line 48 of file dsdv-packet-queue.h.
      
  | 
  inline | 
c-tor
Definition at line 51 of file dsdv-packet-queue.h.
      
  | 
  inline | 
Definition at line 80 of file dsdv-packet-queue.h.
References m_ecb.
      
  | 
  inline | 
Definition at line 108 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 caller graph for this function:
      
  | 
  inline | 
Definition at line 96 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:Definition at line 88 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:
      
  | 
  inline | 
Definition at line 72 of file dsdv-packet-queue.h.
References m_ucb.
Referenced by ns3::dsdv::RoutingProtocol::SendPacketFromQueue().
 Here is the caller graph for this function:
      
  | 
  inline | 
Compare queue entries.
Definition at line 66 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:
      
  | 
  inline | 
Definition at line 84 of file dsdv-packet-queue.h.
References m_ecb.
      
  | 
  inline | 
Definition at line 104 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 caller graph for this function:
      
  | 
  inline | 
Definition at line 100 of file dsdv-packet-queue.h.
References m_header.
Definition at line 92 of file dsdv-packet-queue.h.
References m_packet.
      
  | 
  inline | 
Definition at line 76 of file dsdv-packet-queue.h.
References m_ucb.
      
  | 
  private | 
Error callback.
Definition at line 121 of file dsdv-packet-queue.h.
Referenced by GetErrorCallback(), and SetErrorCallback().
      
  | 
  private | 
Expire time for queue entry.
Definition at line 123 of file dsdv-packet-queue.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
      
  | 
  private | 
IP header.
Definition at line 117 of file dsdv-packet-queue.h.
Referenced by GetIpv4Header(), operator==(), and SetIpv4Header().
Data packet.
Definition at line 115 of file dsdv-packet-queue.h.
Referenced by GetPacket(), operator==(), and SetPacket().
      
  | 
  private | 
Unicast forward callback.
Definition at line 119 of file dsdv-packet-queue.h.
Referenced by GetUnicastForwardCallback(), and SetUnicastForwardCallback().