The Routing table used by AODV protocol.
More...
#include <aodv-rtable.h>
List of all members.
Detailed Description
The Routing table used by AODV protocol.
Member Function Documentation
Add routing table entry if it doesn't yet exist in routing table
- Parameters:
-
- Returns:
- true in success
bool ns3::aodv::RoutingTable::DeleteRoute |
( |
Ipv4Address |
dst |
) |
|
Delete routing table entry with destination address dst, if it exists.
- Parameters:
-
- Returns:
- true on success
void ns3::aodv::RoutingTable::InvalidateRoutesWithDst |
( |
std::map< Ipv4Address, uint32_t > const & |
unreachable |
) |
|
Update routing entries with this destinations as follows: 1. The destination sequence number of this routing entry, if it exists and is valid, is incremented. 2. The entry is invalidated by marking the route entry as invalid 3. The Lifetime field is updated to current time plus DELETE_PERIOD.
Lookup routing table entry with destination address dst
- Parameters:
-
| dst | destination address |
| rt | entry with destination address dst, if exists |
- Returns:
- true on success
bool ns3::aodv::RoutingTable::MarkLinkAsUnidirectional |
( |
Ipv4Address |
neighbor, |
|
|
Time |
blacklistTimeout | |
|
) |
| | |
Mark entry as unidirectional (e.g. add this neighbor to "blacklist" for blacklistTimeout period)
- Parameters:
-
| neighbor | - neighbor address link to which assumed to be unidirectional |
| blacklistTimeout | - time for which the neighboring node is put into the blacklist |
- Returns:
- true on success
The documentation for this class was generated from the following file:
- src/routing/aodv/aodv-rtable.h