|
DESERT 4.0.0
|
#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
| UWARPTable::UWARPTable | ( | ) |
Constructor
| UWARPTable::~UWARPTable | ( | ) |
Desctructor
| void UWARPTable::addEntry | ( | UWARPEntry * | entry | ) |
Add entry to ARP table
| entry | UWARPEntry to add |
References UWARPEntry::ipaddr_, and table_.
Referenced by UWMllModule::command().
| void UWARPTable::clear | ( | ) |
| UWARPEntry * UWARPTable::lookup | ( | nsaddr_t | addr | ) |
Lookup entry in table
| addr | network address to look for |
References table_.
Referenced by UWMllModule::arpResolve().
|
private |
The ARP table as an associative array
Referenced by addEntry(), clear(), and lookup().