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.

Tom Henderson 2011-11-05