DSR Passive Buffer Entry. More...
#include <dsr-passive-buff.h>
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) | |
bool | operator== (PassiveBuffEntry const &o) const |
Ptr< const Packet > | GetPacket () const |
void | SetPacket (Ptr< const Packet > p) |
Ipv4Address | GetDestination () const |
void | SetDestination (Ipv4Address d) |
Ipv4Address | GetSource () const |
void | SetSource (Ipv4Address s) |
Ipv4Address | GetNextHop () const |
void | SetNextHop (Ipv4Address n) |
uint16_t | GetIdentification () const |
void | SetIdentification (uint16_t i) |
uint16_t | GetFragmentOffset () const |
void | SetFragmentOffset (uint16_t f) |
uint8_t | GetSegsLeft () const |
void | SetSegsLeft (uint8_t seg) |
void | SetExpireTime (Time exp) |
Time | GetExpireTime () const |
void | SetProtocol (uint8_t p) |
uint8_t | GetProtocol () const |
Private Attributes | |
Ipv4Address | m_dst |
Time | m_expire |
uint16_t | m_fragmentOffset |
uint16_t | m_identification |
Ipv4Address | m_nextHop |
Ptr< const Packet > | m_packet |
uint8_t | m_protocol |
uint8_t | m_segsLeft |
Ipv4Address | m_source |
DSR Passive Buffer Entry.
Definition at line 45 of file dsr-passive-buff.h.
|
inline |