A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::olsr::RoutingTableEntry Struct Reference

An OLSR's routing table entry. More...

#include "olsr-routing-protocol.h"

+ Collaboration diagram for ns3::olsr::RoutingTableEntry:

Public Member Functions

 RoutingTableEntry ()
 

Public Attributes

Ipv4Address destAddr
 Address of the destination node.
 
uint32_t distance
 Distance in hops to the destination.
 
uint32_t interface
 Interface index.
 
Ipv4Address nextAddr
 Address of the next hop.
 

Detailed Description

An OLSR's routing table entry.

Definition at line 49 of file olsr-routing-protocol.h.

Constructor & Destructor Documentation

◆ RoutingTableEntry()

ns3::olsr::RoutingTableEntry::RoutingTableEntry ( )
inline

Definition at line 56 of file olsr-routing-protocol.h.

Member Data Documentation

◆ destAddr

Ipv4Address ns3::olsr::RoutingTableEntry::destAddr

Address of the destination node.

Definition at line 51 of file olsr-routing-protocol.h.

Referenced by ns3::olsr::RoutingProtocol::AddEntry(), and ns3::olsr::RoutingProtocol::FindSendEntry().

◆ distance

uint32_t ns3::olsr::RoutingTableEntry::distance

Distance in hops to the destination.

Definition at line 54 of file olsr-routing-protocol.h.

Referenced by ns3::olsr::RoutingProtocol::AddEntry(), and ns3::olsr::RoutingProtocol::RoutingTableComputation().

◆ interface

◆ nextAddr


The documentation for this struct was generated from the following file: