Helper class used to remember already seen packets and detect duplicates. More...
#include <aodv-dpd.h>
Public Member Functions | |
| DuplicatePacketDetection (Time lifetime) | |
| C-tor. | |
| Time | GetLifetime () const |
| Get duplicate records lifetimes. | |
| 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. | |
Private Attributes | |
| IdCache | m_idCache |
| Impl. | |
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.
Definition at line 43 of file aodv-dpd.h.