DSR Error Buffer Entry. More...
#include "dsr-errorbuff.h"
 Collaboration diagram for ns3::dsr::DsrErrorBuffEntry:
 Collaboration diagram for ns3::dsr::DsrErrorBuffEntry:| Public Member Functions | |
| DsrErrorBuffEntry (Ptr< const Packet > pa=0, Ipv4Address d=Ipv4Address(), Ipv4Address s=Ipv4Address(), Ipv4Address n=Ipv4Address(), Time exp=Simulator::Now(), uint8_t p=0) | |
| Create an DsrErrorBuffEntry with the given parameters.  More... | |
| Ipv4Address | GetDestination () const | 
| Time | GetExpireTime () const | 
| Ipv4Address | GetNextHop () const | 
| Ptr< const Packet > | GetPacket () const | 
| uint8_t | GetProtocol () const | 
| Ipv4Address | GetSource () const | 
| bool | operator== (DsrErrorBuffEntry const &o) const | 
| Compare send buffer entries.  More... | |
| void | SetDestination (Ipv4Address d) | 
| void | SetExpireTime (Time exp) | 
| void | SetNextHop (Ipv4Address n) | 
| void | SetPacket (Ptr< const Packet > p) | 
| void | SetProtocol (uint8_t p) | 
| void | SetSource (Ipv4Address s) | 
| Private Attributes | |
| Ipv4Address | m_dst | 
| Destination address.  More... | |
| Time | m_expire | 
| Expire time for queue entry.  More... | |
| Ipv4Address | m_nextHop | 
| Nexthop address.  More... | |
| Ptr< const Packet > | m_packet | 
| Data packet.  More... | |
| uint8_t | m_protocol | 
| The protocol number.  More... | |
| Ipv4Address | m_source | 
| Source address.  More... | |
DSR Error Buffer Entry.
Definition at line 45 of file dsr-errorbuff.h.
| 
 | inline | 
Create an DsrErrorBuffEntry with the given parameters.
| pa | packet | 
| d | IPv4 address of the destination | 
| s | IPv4 address of the source | 
| n | IPv4 address of the next hop | 
| exp | expiration time | 
| p | protocol number | 
Definition at line 58 of file dsr-errorbuff.h.
| 
 | inline | 
Definition at line 87 of file dsr-errorbuff.h.
References m_dst.
Referenced by ns3::dsr::DsrErrorBuffer::Drop(), and ns3::dsr::DsrErrorBuffer::Enqueue().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 115 of file dsr-errorbuff.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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 103 of file dsr-errorbuff.h.
References m_nextHop.
Referenced by ns3::dsr::DsrErrorBuffer::DropLink(), ns3::dsr::DsrErrorBuffer::Enqueue(), and ns3::dsr::DsrErrorBuffer::LinkEqual().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 79 of file dsr-errorbuff.h.
References m_packet.
Referenced by ns3::dsr::DsrErrorBuffer::Dequeue(), ns3::dsr::DsrErrorBuffer::Drop(), ns3::dsr::DsrErrorBuffer::DropLink(), ns3::dsr::DsrErrorBuffer::Enqueue(), and ns3::dsr::DsrRouting::SendPacketFromBuffer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 123 of file dsr-errorbuff.h.
References m_protocol.
| 
 | inline | 
Definition at line 95 of file dsr-errorbuff.h.
References m_source.
Referenced by ns3::dsr::DsrErrorBuffer::DropLink(), ns3::dsr::DsrErrorBuffer::Enqueue(), and ns3::dsr::DsrErrorBuffer::LinkEqual().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Compare send buffer entries.
| o | another DsrErrorBuffEntry | 
Definition at line 73 of file dsr-errorbuff.h.
References m_dst, m_expire, m_nextHop, m_packet, and m_source.
| 
 | inline | 
Definition at line 91 of file dsr-errorbuff.h.
References m_dst.
| 
 | inline | 
Definition at line 111 of file dsr-errorbuff.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::DsrErrorBuffer::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 | 
Definition at line 107 of file dsr-errorbuff.h.
References m_nextHop.
Definition at line 83 of file dsr-errorbuff.h.
References m_packet.
| 
 | inline | 
Definition at line 119 of file dsr-errorbuff.h.
References m_protocol.
| 
 | inline | 
Definition at line 99 of file dsr-errorbuff.h.
References m_source.
| 
 | private | 
Destination address.
Definition at line 132 of file dsr-errorbuff.h.
Referenced by GetDestination(), operator==(), and SetDestination().
| 
 | private | 
Expire time for queue entry.
Definition at line 138 of file dsr-errorbuff.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
| 
 | private | 
Nexthop address.
Definition at line 136 of file dsr-errorbuff.h.
Referenced by GetNextHop(), operator==(), and SetNextHop().
Data packet.
Definition at line 130 of file dsr-errorbuff.h.
Referenced by GetPacket(), operator==(), and SetPacket().
| 
 | private | 
The protocol number.
Definition at line 140 of file dsr-errorbuff.h.
Referenced by GetProtocol(), and SetProtocol().
| 
 | private | 
Source address.
Definition at line 134 of file dsr-errorbuff.h.
Referenced by GetSource(), operator==(), and SetSource().