maintain list of active neighbors More...
#include <aodv-neighbor.h>
Classes | |
struct | Neighbor |
Neighbor description. More... | |
Public Member Functions | |
Neighbors (Time delay) | |
c-tor | |
Time | GetExpireTime (Ipv4Address addr) |
Return expire time for neighbor node with address addr, if exists, else return 0. | |
bool | IsNeighbor (Ipv4Address addr) |
Check that node with address addr is neighbor. | |
void | Update (Ipv4Address addr, Time expire) |
Update expire time for entry with address addr, if it exists, else add new entry. | |
void | Purge () |
Remove all expired entries. | |
void | ScheduleTimer () |
Schedule m_ntimer. | |
void | Clear () |
Remove all entries. | |
void | AddArpCache (Ptr< ArpCache >) |
Add ARP cache to be used to allow layer 2 notifications processing. | |
void | DelArpCache (Ptr< ArpCache >) |
Don't use given ARP cache any more (interface is down). | |
Callback< void, WifiMacHeader const & > | GetTxErrorCallback () const |
Get callback to ProcessTxError. | |
Handle link failure callback | |
void | SetCallback (Callback< void, Ipv4Address > cb) |
Callback< void, Ipv4Address > | GetCallback () const |
maintain list of active neighbors