DSR Maintain Buffer Entry. More...
#include <dsr-maintain-buff.h>
Public Member Functions | |
MaintainBuffEntry (Ptr< const Packet > pa=0, Ipv4Address us=Ipv4Address(), Ipv4Address n=Ipv4Address(), Ipv4Address s=Ipv4Address(), Ipv4Address dst=Ipv4Address(), uint16_t ackId=0, uint8_t segs=0, Time exp=Simulator::Now()) | |
Ptr< const Packet > | GetPacket () const |
void | SetPacket (Ptr< const Packet > p) |
Ipv4Address | GetOurAdd () const |
void | SetOurAdd (Ipv4Address us) |
Ipv4Address | GetNextHop () const |
void | SetNextHop (Ipv4Address n) |
Ipv4Address | GetDst () const |
void | SetDst (Ipv4Address n) |
Ipv4Address | GetSrc () const |
void | SetSrc (Ipv4Address s) |
uint16_t | GetAckId () const |
void | SetAckId (uint16_t ackId) |
uint8_t | GetSegsLeft () const |
void | SetSegsLeft (uint8_t segs) |
void | SetExpireTime (Time exp) |
Time | GetExpireTime () const |
Private Attributes | |
uint16_t | m_ackId |
Ipv4Address | m_dst |
Time | m_expire |
Ipv4Address | m_nextHop |
Ipv4Address | m_ourAdd |
Ptr< const Packet > | m_packet |
uint8_t | m_segsLeft |
Ipv4Address | m_src |
DSR Maintain Buffer Entry.
Definition at line 109 of file dsr-maintain-buff.h.
|
inline |
Definition at line 113 of file dsr-maintain-buff.h.
|
inline |
Definition at line 169 of file dsr-maintain-buff.h.
References m_ackId.
Referenced by ns3::dsr::MaintainBuffer::AllEqual(), ns3::dsr::DsrRouting::CancelNetworkPacketTimer(), ns3::dsr::MaintainBuffer::Enqueue(), ns3::dsr::MaintainBuffer::NetworkEqual(), ns3::dsr::DsrRouting::NetworkScheduleTimerExpire(), ns3::dsr::MaintainBuffer::PromiscEqual(), ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry(), and ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop().
|
inline |
Definition at line 153 of file dsr-maintain-buff.h.
References m_dst.
Referenced by ns3::dsr::MaintainBuffer::AllEqual(), ns3::dsr::DsrRouting::CancelLinkPacketTimer(), ns3::dsr::DsrRouting::CancelNetworkPacketTimer(), ns3::dsr::DsrRouting::CancelPacketTimerNextHop(), ns3::dsr::DsrRouting::CancelPassivePacketTimer(), ns3::dsr::MaintainBuffer::Enqueue(), ns3::dsr::MaintainBuffer::LinkEqual(), ns3::dsr::DsrRouting::LinkScheduleTimerExpire(), ns3::dsr::MaintainBuffer::NetworkEqual(), ns3::dsr::DsrRouting::NetworkScheduleTimerExpire(), ns3::dsr::DsrRouting::PassiveScheduleTimerExpire(), ns3::dsr::MaintainBuffer::PromiscEqual(), ns3::dsr::DsrRouting::ScheduleLinkPacketRetry(), ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry(), ns3::dsr::DsrRouting::SchedulePassivePacketRetry(), and ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop().
|
inline |
Definition at line 189 of file dsr-maintain-buff.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::IsExpired::operator()().
|
inline |
Definition at line 145 of file dsr-maintain-buff.h.
References m_nextHop.
Referenced by ns3::dsr::MaintainBuffer::AllEqual(), ns3::dsr::DsrRouting::CancelLinkPacketTimer(), ns3::dsr::DsrRouting::CancelNetworkPacketTimer(), ns3::dsr::MaintainBuffer::Enqueue(), ns3::dsr::MaintainBuffer::IsEqual(), ns3::dsr::MaintainBuffer::LinkEqual(), ns3::dsr::DsrRouting::LinkScheduleTimerExpire(), ns3::dsr::MaintainBuffer::NetworkEqual(), ns3::dsr::DsrRouting::NetworkScheduleTimerExpire(), ns3::dsr::DsrRouting::PassiveScheduleTimerExpire(), ns3::dsr::DsrRouting::ScheduleLinkPacketRetry(), ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry(), ns3::dsr::DsrRouting::SchedulePassivePacketRetry(), and ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop().
|
inline |
Definition at line 137 of file dsr-maintain-buff.h.
References m_ourAdd.
Referenced by ns3::dsr::MaintainBuffer::AllEqual(), ns3::dsr::DsrRouting::CancelLinkPacketTimer(), ns3::dsr::DsrRouting::CancelNetworkPacketTimer(), ns3::dsr::MaintainBuffer::Enqueue(), ns3::dsr::MaintainBuffer::LinkEqual(), ns3::dsr::DsrRouting::LinkScheduleTimerExpire(), ns3::dsr::MaintainBuffer::NetworkEqual(), ns3::dsr::DsrRouting::NetworkScheduleTimerExpire(), ns3::dsr::DsrRouting::ScheduleLinkPacketRetry(), ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry(), and ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop().
Definition at line 129 of file dsr-maintain-buff.h.
References m_packet.
Referenced by ns3::dsr::DsrRouting::CancelPacketTimerNextHop(), ns3::dsr::MaintainBuffer::Dequeue(), ns3::dsr::DsrRouting::LinkScheduleTimerExpire(), ns3::dsr::DsrRouting::NetworkScheduleTimerExpire(), ns3::dsr::DsrRouting::PassiveScheduleTimerExpire(), ns3::dsr::DsrRouting::ScheduleLinkPacketRetry(), ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry(), ns3::dsr::DsrRouting::SchedulePassivePacketRetry(), and ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop().
|
inline |
Definition at line 177 of file dsr-maintain-buff.h.
References m_segsLeft.
Referenced by ns3::dsr::MaintainBuffer::AllEqual(), ns3::dsr::DsrRouting::CancelNetworkPacketTimer(), ns3::dsr::DsrRouting::CancelPassivePacketTimer(), ns3::dsr::MaintainBuffer::Enqueue(), ns3::dsr::DsrRouting::PassiveScheduleTimerExpire(), ns3::dsr::MaintainBuffer::PromiscEqual(), ns3::dsr::DsrRouting::SchedulePassivePacketRetry(), and ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop().
|
inline |
Definition at line 161 of file dsr-maintain-buff.h.
References m_src.
Referenced by ns3::dsr::MaintainBuffer::AllEqual(), ns3::dsr::DsrRouting::CancelLinkPacketTimer(), ns3::dsr::DsrRouting::CancelNetworkPacketTimer(), ns3::dsr::DsrRouting::CancelPacketTimerNextHop(), ns3::dsr::DsrRouting::CancelPassivePacketTimer(), ns3::dsr::MaintainBuffer::Enqueue(), ns3::dsr::MaintainBuffer::LinkEqual(), ns3::dsr::DsrRouting::LinkScheduleTimerExpire(), ns3::dsr::MaintainBuffer::NetworkEqual(), ns3::dsr::DsrRouting::NetworkScheduleTimerExpire(), ns3::dsr::DsrRouting::PassiveScheduleTimerExpire(), ns3::dsr::MaintainBuffer::PromiscEqual(), ns3::dsr::DsrRouting::ScheduleLinkPacketRetry(), ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry(), ns3::dsr::DsrRouting::SchedulePassivePacketRetry(), and ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop().
|
inline |
Definition at line 173 of file dsr-maintain-buff.h.
References m_ackId.
Referenced by ns3::dsr::DsrRouting::CancelPassiveTimer(), ns3::dsr::DsrRouting::PassiveEntryCheck(), and ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry().
|
inline |
Definition at line 157 of file dsr-maintain-buff.h.
References m_dst.
Referenced by ns3::dsr::DsrRouting::CancelPassiveTimer(), and ns3::dsr::DsrRouting::PassiveEntryCheck().
|
inline |
Definition at line 185 of file dsr-maintain-buff.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::MaintainBuffer::Enqueue(), and ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry().
|
inline |
Definition at line 149 of file dsr-maintain-buff.h.
References m_nextHop.
|
inline |
Definition at line 141 of file dsr-maintain-buff.h.
References m_ourAdd.
Definition at line 133 of file dsr-maintain-buff.h.
References m_packet.
Referenced by ns3::dsr::DsrRouting::CancelPassiveTimer(), ns3::dsr::DsrRouting::NotifyDataReceipt(), ns3::dsr::DsrRouting::PassiveEntryCheck(), and ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry().
|
inline |
Definition at line 181 of file dsr-maintain-buff.h.
References m_segsLeft.
Referenced by ns3::dsr::DsrRouting::CancelPassiveTimer(), and ns3::dsr::DsrRouting::PassiveEntryCheck().
|
inline |
Definition at line 165 of file dsr-maintain-buff.h.
Referenced by ns3::dsr::DsrRouting::CancelPassiveTimer(), and ns3::dsr::DsrRouting::PassiveEntryCheck().
|
private |
Definition at line 206 of file dsr-maintain-buff.h.
Referenced by GetAckId(), and SetAckId().
|
private |
Definition at line 204 of file dsr-maintain-buff.h.
|
private |
Definition at line 210 of file dsr-maintain-buff.h.
Referenced by GetExpireTime(), and SetExpireTime().
|
private |
Definition at line 200 of file dsr-maintain-buff.h.
Referenced by GetNextHop(), and SetNextHop().
|
private |
Definition at line 198 of file dsr-maintain-buff.h.
Referenced by GetOurAdd(), and SetOurAdd().
Definition at line 196 of file dsr-maintain-buff.h.
Referenced by GetPacket(), and SetPacket().
|
private |
Definition at line 208 of file dsr-maintain-buff.h.
Referenced by GetSegsLeft(), and SetSegsLeft().
|
private |
Definition at line 202 of file dsr-maintain-buff.h.