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


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

Function Documentation

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.

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

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

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

+ Here is the caller graph for this function: