OLSR
[Routing]

Collaboration diagram for OLSR:

Model

This model implements the base specification of the Optimized Link State Routing (OLSR) protocol, which is a dynamic mobile ad hoc unicast routing protocol. It has been developed at the University of Murcia (Spain) by Francisco J. Ros for NS-2, and was ported to NS-3 by Gustavo Carneiro at INESC Porto (Portugal).

Here is a summary of software's main features:

API and Usage

A helper class for OLSR has been written. After an IPv4 topology has been created and unique IP addresses assigned to each node, the simulation script writer can call one of three overloaded functions with different scope to enable OLSR: ns3::OlsrHelper::Install (NodeContainer container); ns3::OlsrHelper::Install (Ptr<Node> node); or ns3::OlsrHelper::InstallAll (void);

In addition, the behavior of OLSR can be modified by changing certain attributes. The method ns3::OlsrHelper::SetAgent () can be used to set OLSR attributes. These include HelloInterval, TcInterval, MidInterval, Willingness. Other parameters are defined as macros in olsr-agent-impl.cc.


Generated on Fri Apr 9 15:01:07 2010 for NS-3 by  doxygen 1.5.8