Helper class used to remember already seen packets and detect duplicates. More...
#include <aodv-dpd.h>

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.  | |
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.
 1.6.1