Public Member Functions

ns3::aodv::DuplicatePacketDetection Class Reference
[AODV]

Helper class used to remember already seen packets and detect duplicates. More...

#include <aodv-dpd.h>

Collaboration diagram for ns3::aodv::DuplicatePacketDetection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DuplicatePacketDetection (Time lifetime)
 C-tor.
bool IsDuplicate (Ptr< const Packet > p, const Ipv4Header &header)
 Check that the packet is duplicated. If not, save information about this packet.
void SetLifetime (Time lifetime)
 Set duplicate records lifetimes.
Time GetLifetime () const
 Get duplicate records lifetimes.

Detailed Description

Helper class used to remember already seen packets and detect duplicates.

Currently duplicate detection is based on uinique packet ID given by Packet::GetUid () This approach is known to be weak and should be changed.


The documentation for this class was generated from the following file: