#include <FloodHistory.h>
Classes | |
struct | Entry |
an entry in the flood history More... | |
Public Member Functions | |
void | insert (const NodeId &id, u_int16_t seq) |
void | printHistoryOfNode (const NodeId &id) |
bool | contains (const NodeId &id, u_int16_t seq) const |
Public Attributes | |
size_t | end |
end pointer in the ring buffer | |
size_t | count |
number of entries in the ring buffer | |
Entry | hist [FLOOD_HISTORY_NUM_ENTRIES] |
It implements a ring buffer.