OLSR routing protocol for IPv4. More...
#include <olsr-routing-protocol.h>
Public Member Functions | |
void | SetMainInterface (uint32_t interface) |
Set the OLSR main address to the first address on the indicated interface. | |
void | Dump (void) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::olsr::RoutingProtocol. | |
Protected Member Functions | |
virtual void | DoStart (void) |
Friends | |
class | OlsrMprTestCase |
OLSR routing protocol for IPv4.
virtual void ns3::olsr::RoutingProtocol::DoStart | ( | void | ) | [protected, virtual] |
This method is called only once by Object::Start. If the user calls Object::Start multiple times, DoStart is called only the first time.
Subclasses are expected to override this method and _chain up_ to their parent's implementation once they are done. It is safe to call GetObject and AggregateObject from within this method.
Reimplemented from ns3::Object.
void ns3::olsr::RoutingProtocol::Dump | ( | void | ) |
Dump the neighbor table, two-hop neighbor table, and routing table to logging output (NS_LOG_DEBUG log level). If logging is disabled, this function does nothing.
static TypeId ns3::olsr::RoutingProtocol::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::olsr::RoutingProtocol.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
TraceSources defined for this type:
Reimplemented from ns3::Ipv4RoutingProtocol.
void ns3::olsr::RoutingProtocol::SetMainInterface | ( | uint32_t | interface | ) |
Set the OLSR main address to the first address on the indicated interface.
interface | IPv4 interface index |