A Discrete-Event Network Simulator
API
ns3::olsr::anonymous_namespace{olsr-routing-protocol.cc} Namespace Reference

Functions

void CoverTwoHopNeighbors (Ipv4Address neighborMainAddr, TwoHopNeighborSet &N2)
 Remove all covered 2-hop neighbors from N2 set. More...
 

Function Documentation

◆ CoverTwoHopNeighbors()

void ns3::olsr::anonymous_namespace{olsr-routing-protocol.cc}::CoverTwoHopNeighbors ( Ipv4Address  neighborMainAddr,
TwoHopNeighborSet N2 
)

Remove all covered 2-hop neighbors from N2 set.

This is a helper function used by MprComputation algorithm.

Parameters
neighborMainAddrNeighbor main address.
N2Reference to the 2-hop neighbor set.

Definition at line 638 of file olsr-routing-protocol.cc.

Referenced by ns3::olsr::RoutingProtocol::MprComputation().

+ Here is the caller graph for this function: