next up previous contents index
Next: 23.5.0.0.2 Static Routing Up: 23.5 Protocol Internals Previous: 23.5 Protocol Internals

23.5.0.0.1 Direct Routing

This protocol tracks the state of the incident links, and maintains routes to immediately adjacent neighbors only. As with the other protocols, it maintains instance variable arrays of nextHop_, rtpref_, and metric_, indexed by the handle of each of the possible destinations in the topology.

The instance procedure []compute-routes../ns-2/route-proto.tclAgent/rtProto/Direct::compute-routes computes routes based on the current state of the link, and the previously known state of the incident links.

No other procedures or instance procedures are defined for this protocol.




2000-08-24