A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 }
 Neighbor Type and Link Type at the four less significative digits. More...
 

Public Attributes

Ipv4Address neighborMainAddr
 Main address of a neighbor node. More...
 
enum
ns3::olsr::NeighborTuple::Status 
status
 
uint8_t willingness
 A value between 0 and 7 specifying the node's willingness to carry traffic on behalf of other nodes. More...
 

Detailed Description

A Neighbor Tuple.

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

Member Enumeration Documentation

Neighbor Type and Link Type at the four less significative digits.

Enumerator
STATUS_NOT_SYM 
STATUS_SYM 

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

Member Data Documentation

uint8_t 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 112 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: