ns3::dsdv::RoutingTable Class Reference
[Dsdv]
The Routing table used by DSDV protocol.
More...
#include <dsdv-rtable.h>
List of all members.
Detailed Description
The Routing table used by DSDV protocol.
Member Function Documentation
Add an event for a destination address so that the update to for that destination is sent after the event is completed.
- Parameters:
-
| destination | address for which this event is running. |
| unique | eventid that was generated. |
Add routing table entry if it doesn't yet exist in routing table
- Parameters:
-
- Returns:
- true in success
bool ns3::dsdv::RoutingTable::AnyRunningEvent |
( |
Ipv4Address |
address |
) |
|
Force delete an update waiting for settling time to complete as a better update to same destination was received.
- Parameters:
-
| destination | address for which this event is running. |
- Returns:
- true on success
bool ns3::dsdv::RoutingTable::DeleteIpv4Event |
( |
Ipv4Address |
address |
) |
|
Clear up the entry from the map after the event is completed
- Parameters:
-
| destination | address for which this event is running. |
- Returns:
- true on success
bool ns3::dsdv::RoutingTable::DeleteRoute |
( |
Ipv4Address |
dst |
) |
|
Delete routing table entry with destination address dst, if it exists.
- Parameters:
-
- Returns:
- true on success
bool ns3::dsdv::RoutingTable::ForceDeleteIpv4Event |
( |
Ipv4Address |
address |
) |
|
Force delete an update waiting for settling time to complete as a better update to same destination was received.
- Parameters:
-
| destination | address for which this event is running. |
- Returns:
- true on finding out that an event is already running for that destination address.
Get the EcentId associated with that address.
- Parameters:
-
| destination | address for which this event is running. |
- Returns:
- EventId on finding out an event is associated else return NULL.
Lookup list of all addresses in the routing table
- Parameters:
-
| allRoutes | is the list that will hold all these addresses present in the nodes routing table |
Lookup list of addresses for which nxtHp is the next Hop address
- Parameters:
-
| nexthop's | address for which we want the list of destinations |
| dstList | is the list that will hold all these destination addresses |
Lookup routing table entry with destination address dst
- Parameters:
-
| dst | destination address |
| rt | entry with destination address dst, if exists |
- Returns:
- true on success
Updating the routing Table with routing table entry rt
- Parameters:
-
- Returns:
- true on success
The documentation for this class was generated from the following file:
- src/routing/dsdv/model/dsdv-rtable.h