#include <Patricia.h>
Public Types | |
typedef struct Patricia::_NODE | NODE |
typedef struct Patricia::_NODE * | PNODE |
Public Member Functions | |
Patricia () | |
~Patricia () | |
void | insert (IP_ADDR addr, unsigned short mask) |
PNODE | find (IP_ADDR addr, PNODE tree=NULL, unsigned short cnt=0) |
Private Attributes | |
PNODE | root |
Classes | |
struct | _NODE |
typedef struct Patricia::_NODE Patricia::NODE |
typedef struct Patricia::_NODE * Patricia::PNODE |
Patricia::Patricia | ( | ) |
Patricia::~Patricia | ( | ) |
void Patricia::insert | ( | IP_ADDR | addr, | |
unsigned short | mask | |||
) |
Patricia::PNODE Patricia::find | ( | IP_ADDR | addr, | |
PNODE | tree = NULL , |
|||
unsigned short | cnt = 0 | |||
) |
PNODE Patricia::root [private] |