DESERT 3.5.1
|
#include <marptable.h>
Public Member Functions | |
UWARPTable () | |
~UWARPTable () | |
void | addEntry (UWARPEntry *entry) |
UWARPEntry * | lookup (nsaddr_t addr) |
void | clear () |
Private Attributes | |
map< nsaddr_t, UWARPEntry * > | table_ |
ARP table.
Definition at line 94 of file marptable.h.
UWARPTable::UWARPTable | ( | ) |
Constructor.
Definition at line 46 of file marptable.cpp.
UWARPTable::~UWARPTable | ( | ) |
Desctructor.
Definition at line 50 of file marptable.cpp.
void UWARPTable::addEntry | ( | UWARPEntry * | entry | ) |
Add entry to ARP table.
entry | UWARPEntry to add |
Definition at line 55 of file marptable.cpp.
void UWARPTable::clear | ( | ) |
Remove all entries in table.
Definition at line 72 of file marptable.cpp.
UWARPEntry * UWARPTable::lookup | ( | nsaddr_t | addr | ) |
Lookup entry in table.
addr | network address to look for |
Definition at line 61 of file marptable.cpp.
|
private |
The ARP table as an associative array.
Definition at line 122 of file marptable.h.