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

A Neighbor Tuple. More...

#include "olsr-repositories.h"

+ Collaboration diagram for ns3::olsr::NeighborTuple:

Public Types

enum  Status { STATUS_NOT_SYM = 0 , STATUS_SYM = 1 }
 Status of the link (Symmetric or not Symmetric). More...
 

Public Attributes

Ipv4Address neighborMainAddr
 Main address of a neighbor node.
 
Status status
 Status of the link.
 
Willingness willingness
 A value between 0 and 7 specifying the node's willingness to carry traffic on behalf of other nodes.
 

Detailed Description

A Neighbor Tuple.

Definition at line 131 of file olsr-repositories.h.

Member Enumeration Documentation

◆ Status

Status of the link (Symmetric or not Symmetric).

Enumerator
STATUS_NOT_SYM 
STATUS_SYM 

Definition at line 137 of file olsr-repositories.h.

Member Data Documentation

◆ neighborMainAddr

◆ status

◆ willingness

Willingness ns3::olsr::NeighborTuple::willingness

A value between 0 and 7 specifying the node's willingness to carry traffic on behalf of other nodes.

Definition at line 148 of file olsr-repositories.h.

Referenced by ns3::olsr::RoutingProtocol::LinkTupleAdded(), ns3::olsr::RoutingProtocol::MprComputation(), ns3::olsr::operator<<(), ns3::olsr::operator==(), and ns3::olsr::RoutingProtocol::PopulateNeighborSet().


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