DSR Network Queue Entry. More...
#include "dsr-network-queue.h"
Collaboration diagram for ns3::dsr::DsrNetworkQueueEntry:Public Member Functions | |
| DsrNetworkQueueEntry (Ptr< const Packet > pa=nullptr, Ipv4Address s=Ipv4Address(), Ipv4Address n=Ipv4Address(), Time exp=Simulator::Now(), Ptr< Ipv4Route > r=nullptr) | |
| Construct a DsrNetworkQueueEntry with the given parameters. | |
| Time | GetInsertedTimeStamp () const |
| Get inserted time stamp function. | |
| Ptr< Ipv4Route > | GetIpv4Route () const |
| Get IP route function. | |
| Ipv4Address | GetNextHopAddress () const |
| Get next hop address function. | |
| Ptr< const Packet > | GetPacket () const |
| Get packet function. | |
| Ipv4Address | GetSourceAddress () const |
| Get source address function. | |
| bool | operator== (const DsrNetworkQueueEntry &o) const |
| Compare send buffer entries. | |
| void | SetInsertedTimeStamp (Time time) |
| Set inserted time stamp function. | |
| void | SetIpv4Route (Ptr< Ipv4Route > route) |
| Set IP route function. | |
| void | SetNextHopAddress (Ipv4Address addr) |
| Set next hop address function. | |
| void | SetPacket (Ptr< const Packet > p) |
| Set packet function. | |
| void | SetSourceAddress (Ipv4Address addr) |
| Set source address function. | |
Private Attributes | |
| Ptr< Ipv4Route > | m_ipv4Route |
| Ipv4Route. | |
| Ipv4Address | m_nextHopAddr |
| next hop address | |
| Ptr< const Packet > | m_packet |
| Data packet. | |
| Ipv4Address | m_srcAddr |
| source address | |
| Time | tstamp |
| timestamp | |
DSR Network Queue Entry.
Definition at line 46 of file dsr-network-queue.h.
|
inline |
Construct a DsrNetworkQueueEntry with the given parameters.
| pa | packet |
| s | IPv4 address of the source |
| n | IPv4 address of the next hop node |
| exp | expiration time |
| r | Route |
Definition at line 58 of file dsr-network-queue.h.
References m_ipv4Route, m_nextHopAddr, m_packet, m_srcAddr, ns3::Simulator::Now(), and tstamp.
Referenced by operator==().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Get inserted time stamp function.
Definition at line 160 of file dsr-network-queue.h.
References tstamp.
Get IP route function.
Definition at line 106 of file dsr-network-queue.h.
References m_ipv4Route.
Referenced by ns3::dsr::DsrRouting::SendRealDown().
Here is the caller graph for this function:
|
inline |
Get next hop address function.
Definition at line 142 of file dsr-network-queue.h.
References m_nextHopAddr.
Referenced by ns3::dsr::DsrRouting::SendRealDown().
Here is the caller graph for this function:Get packet function.
Definition at line 88 of file dsr-network-queue.h.
References m_packet.
Referenced by ns3::dsr::DsrRouting::SendRealDown().
Here is the caller graph for this function:
|
inline |
Get source address function.
Definition at line 124 of file dsr-network-queue.h.
References m_srcAddr.
Referenced by ns3::dsr::DsrRouting::SendRealDown().
Here is the caller graph for this function:
|
inline |
Compare send buffer entries.
| o | entry to compare |
Definition at line 76 of file dsr-network-queue.h.
References DsrNetworkQueueEntry(), m_ipv4Route, m_nextHopAddr, m_packet, m_srcAddr, and tstamp.
Here is the call graph for this function:
|
inline |
Set inserted time stamp function.
| time | the inserted timestamp |
Definition at line 169 of file dsr-network-queue.h.
References tstamp.
Referenced by ns3::dsr::DsrNetworkQueue::Enqueue().
Here is the caller graph for this function:Set IP route function.
| route |
Definition at line 115 of file dsr-network-queue.h.
References m_ipv4Route.
|
inline |
Set next hop address function.
| addr | the next hop IP address |
Definition at line 151 of file dsr-network-queue.h.
References m_nextHopAddr.
Set packet function.
| p | the current packet |
Definition at line 97 of file dsr-network-queue.h.
References m_packet.
|
inline |
Set source address function.
| addr | the source IP address |
Definition at line 133 of file dsr-network-queue.h.
References m_srcAddr.
Definition at line 181 of file dsr-network-queue.h.
Referenced by DsrNetworkQueueEntry(), GetIpv4Route(), operator==(), and SetIpv4Route().
|
private |
next hop address
Definition at line 178 of file dsr-network-queue.h.
Referenced by DsrNetworkQueueEntry(), GetNextHopAddress(), operator==(), and SetNextHopAddress().
Data packet.
the packet
Definition at line 176 of file dsr-network-queue.h.
Referenced by DsrNetworkQueueEntry(), GetPacket(), operator==(), and SetPacket().
|
private |
source address
Definition at line 177 of file dsr-network-queue.h.
Referenced by DsrNetworkQueueEntry(), GetSourceAddress(), operator==(), and SetSourceAddress().
|
private |
timestamp
Definition at line 179 of file dsr-network-queue.h.
Referenced by DsrNetworkQueueEntry(), GetInsertedTimeStamp(), operator==(), and SetInsertedTimeStamp().