awds::FloodHistory Class Reference

data structure to remember and lookup the recent flood packets More...

#include <FloodHistory.h>

List of all members.

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]


Detailed Description

data structure to remember and lookup the recent flood packets

It implements a ring buffer.


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

Generated on Fri Mar 27 13:58:26 2009 for AWDS by  doxygen 1.5.8