DSR Passive Buffer Entry. More...
#include <dsr-passive-buff.h>
Collaboration diagram for ns3::dsr::PassiveBuffEntry:Public Member Functions | |
| PassiveBuffEntry (Ptr< const Packet > pa=0, Ipv4Address d=Ipv4Address(), Ipv4Address s=Ipv4Address(), Ipv4Address n=Ipv4Address(), uint16_t i=0, uint16_t f=0, uint8_t seg=0, Time exp=Simulator::Now(), uint8_t p=0) | |
| Construct a PassiveBuffEntry with the given parameters. More... | |
| Ipv4Address | GetDestination () const |
| Time | GetExpireTime () const |
| uint16_t | GetFragmentOffset () const |
| uint16_t | GetIdentification () const |
| Ipv4Address | GetNextHop () const |
| Ptr< const Packet > | GetPacket () const |
| uint8_t | GetProtocol () const |
| uint8_t | GetSegsLeft () const |
| Ipv4Address | GetSource () const |
| bool | operator== (PassiveBuffEntry const &o) const |
| Compare send buffer entries. More... | |
| void | SetDestination (Ipv4Address d) |
| void | SetExpireTime (Time exp) |
| void | SetFragmentOffset (uint16_t f) |
| void | SetIdentification (uint16_t i) |
| void | SetNextHop (Ipv4Address n) |
| void | SetPacket (Ptr< const Packet > p) |
| void | SetProtocol (uint8_t p) |
| void | SetSegsLeft (uint8_t seg) |
| void | SetSource (Ipv4Address s) |
Private Attributes | |
| Ipv4Address | m_dst |
| Destination address. More... | |
| Time | m_expire |
| Expire time for queue entry. More... | |
| uint16_t | m_fragmentOffset |
| uint16_t | m_identification |
| Ipv4Address | m_nextHop |
| Nexthop address. More... | |
| Ptr< const Packet > | m_packet |
| Data packet. More... | |
| uint8_t | m_protocol |
| The protocol number. More... | |
| uint8_t | m_segsLeft |
| Ipv4Address | m_source |
| Source address. More... | |
DSR Passive Buffer Entry.
Definition at line 45 of file dsr-passive-buff.h.
|
inline |
Construct a PassiveBuffEntry 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 node |
| i | ID |
| f | fragment offset |
| seg | number of segments left |
| exp | expiration time |
| p | protocol number |
Definition at line 61 of file dsr-passive-buff.h.
|
inline |
Definition at line 93 of file dsr-passive-buff.h.
References m_dst.
Referenced by ns3::dsr::PassiveBuffer::AllEqual(), ns3::dsr::PassiveBuffer::Drop(), and ns3::dsr::PassiveBuffer::Enqueue().
Here is the caller graph for this function:
|
inline |
Definition at line 145 of file dsr-passive-buff.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 caller graph for this function:
|
inline |
Definition at line 125 of file dsr-passive-buff.h.
References m_fragmentOffset.
Referenced by ns3::dsr::PassiveBuffer::AllEqual(), and ns3::dsr::PassiveBuffer::Enqueue().
Here is the caller graph for this function:
|
inline |
Definition at line 117 of file dsr-passive-buff.h.
References m_identification.
Referenced by ns3::dsr::PassiveBuffer::AllEqual(), and ns3::dsr::PassiveBuffer::Enqueue().
Here is the caller graph for this function:
|
inline |
Definition at line 109 of file dsr-passive-buff.h.
References m_nextHop.
Referenced by ns3::dsr::PassiveBuffer::AllEqual(), ns3::dsr::PassiveBuffer::DropLink(), ns3::dsr::PassiveBuffer::Enqueue(), and ns3::dsr::PassiveBuffer::LinkEqual().
Here is the caller graph for this function:Definition at line 85 of file dsr-passive-buff.h.
References m_packet.
Referenced by ns3::dsr::PassiveBuffer::AllEqual(), ns3::dsr::PassiveBuffer::Dequeue(), ns3::dsr::PassiveBuffer::Drop(), ns3::dsr::PassiveBuffer::DropLink(), and ns3::dsr::PassiveBuffer::Enqueue().
Here is the caller graph for this function:
|
inline |
Definition at line 153 of file dsr-passive-buff.h.
References m_protocol.
|
inline |
Definition at line 133 of file dsr-passive-buff.h.
References m_segsLeft.
Referenced by ns3::dsr::PassiveBuffer::AllEqual(), and ns3::dsr::PassiveBuffer::Enqueue().
Here is the caller graph for this function:
|
inline |
Definition at line 101 of file dsr-passive-buff.h.
References m_source.
Referenced by ns3::dsr::PassiveBuffer::AllEqual(), ns3::dsr::PassiveBuffer::DropLink(), ns3::dsr::PassiveBuffer::Enqueue(), and ns3::dsr::PassiveBuffer::LinkEqual().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 97 of file dsr-passive-buff.h.
References m_dst.
Referenced by ns3::dsr::DsrRouting::PassiveEntryCheck().
Here is the caller graph for this function:
|
inline |
Definition at line 141 of file dsr-passive-buff.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::PassiveBuffer::Enqueue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 129 of file dsr-passive-buff.h.
References m_fragmentOffset.
Referenced by ns3::dsr::DsrRouting::PassiveEntryCheck().
Here is the caller graph for this function:
|
inline |
Definition at line 121 of file dsr-passive-buff.h.
References m_identification.
Referenced by ns3::dsr::DsrRouting::PassiveEntryCheck().
Here is the caller graph for this function:
|
inline |
Definition at line 113 of file dsr-passive-buff.h.
References m_nextHop.
Definition at line 89 of file dsr-passive-buff.h.
References m_packet.
Referenced by ns3::dsr::DsrRouting::PassiveEntryCheck().
Here is the caller graph for this function:
|
inline |
Definition at line 149 of file dsr-passive-buff.h.
References m_protocol.
|
inline |
Definition at line 137 of file dsr-passive-buff.h.
References m_segsLeft.
Referenced by ns3::dsr::DsrRouting::PassiveEntryCheck().
Here is the caller graph for this function:
|
inline |
Definition at line 105 of file dsr-passive-buff.h.
References m_source.
Referenced by ns3::dsr::DsrRouting::PassiveEntryCheck().
Here is the caller graph for this function:
|
private |
Destination address.
Definition at line 162 of file dsr-passive-buff.h.
Referenced by GetDestination(), operator==(), and SetDestination().
|
private |
Expire time for queue entry.
Definition at line 172 of file dsr-passive-buff.h.
Referenced by GetExpireTime(), operator==(), and SetExpireTime().
|
private |
Definition at line 169 of file dsr-passive-buff.h.
Referenced by GetFragmentOffset(), and SetFragmentOffset().
|
private |
Definition at line 168 of file dsr-passive-buff.h.
Referenced by GetIdentification(), and SetIdentification().
|
private |
Nexthop address.
Definition at line 166 of file dsr-passive-buff.h.
Referenced by GetNextHop(), operator==(), and SetNextHop().
Data packet.
Definition at line 160 of file dsr-passive-buff.h.
Referenced by GetPacket(), operator==(), and SetPacket().
|
private |
The protocol number.
Definition at line 174 of file dsr-passive-buff.h.
Referenced by GetProtocol(), and SetProtocol().
|
private |
Definition at line 170 of file dsr-passive-buff.h.
Referenced by GetSegsLeft(), and SetSegsLeft().
|
private |
Source address.
Definition at line 164 of file dsr-passive-buff.h.
Referenced by GetSource(), operator==(), and SetSource().