ns3::OlsrState Class Reference

This class encapsulates all data structures needed for maintaining internal state of an OLSR node. More...

#include <olsr-state.h>

List of all members.

Public Member Functions

const MprSelectorSet & GetMprSelectors () const
MprSelectorTupleFindMprSelectorTuple (const Ipv4Address &mainAddr)
void EraseMprSelectorTuple (const MprSelectorTuple &tuple)
void EraseMprSelectorTuples (const Ipv4Address &mainAddr)
void InsertMprSelectorTuple (const MprSelectorTuple &tuple)
std::string PrintMprSelectorSet () const
const NeighborSet & GetNeighbors () const
NeighborSet & GetNeighbors ()
NeighborTupleFindNeighborTuple (const Ipv4Address &mainAddr)
const NeighborTupleFindSymNeighborTuple (const Ipv4Address &mainAddr) const
NeighborTupleFindNeighborTuple (const Ipv4Address &mainAddr, uint8_t willingness)
void EraseNeighborTuple (const NeighborTuple &neighborTuple)
void EraseNeighborTuple (const Ipv4Address &mainAddr)
void InsertNeighborTuple (const NeighborTuple &tuple)
const TwoHopNeighborSet & GetTwoHopNeighbors () const
TwoHopNeighborSet & GetTwoHopNeighbors ()
TwoHopNeighborTupleFindTwoHopNeighborTuple (const Ipv4Address &neighbor, const Ipv4Address &twoHopNeighbor)
void EraseTwoHopNeighborTuple (const TwoHopNeighborTuple &tuple)
void EraseTwoHopNeighborTuples (const Ipv4Address &neighbor)
void EraseTwoHopNeighborTuples (const Ipv4Address &neighbor, const Ipv4Address &twoHopNeighbor)
void InsertTwoHopNeighborTuple (const TwoHopNeighborTuple &tuple)
bool FindMprAddress (const Ipv4Address &address)
void SetMprSet (MprSet mprSet)
 MprSet is set by routing protocol after MprCompute.
MprSet GetMprSet () const
 Gets an MPR Set needed by tests.
DuplicateTupleFindDuplicateTuple (const Ipv4Address &address, uint16_t sequenceNumber)
void EraseDuplicateTuple (const DuplicateTuple &tuple)
void InsertDuplicateTuple (const DuplicateTuple &tuple)
const LinkSet & GetLinks () const
LinkTupleFindLinkTuple (const Ipv4Address &ifaceAddr)
LinkTupleFindSymLinkTuple (const Ipv4Address &ifaceAddr, Time time)
void EraseLinkTuple (const LinkTuple &tuple)
LinkTupleInsertLinkTuple (const LinkTuple &tuple)
const TopologySet & GetTopologySet () const
TopologyTupleFindTopologyTuple (const Ipv4Address &destAddr, const Ipv4Address &lastAddr)
TopologyTupleFindNewerTopologyTuple (const Ipv4Address &lastAddr, uint16_t ansn)
void EraseTopologyTuple (const TopologyTuple &tuple)
void EraseOlderTopologyTuples (const Ipv4Address &lastAddr, uint16_t ansn)
void InsertTopologyTuple (const TopologyTuple &tuple)
const IfaceAssocSet & GetIfaceAssocSet () const
IfaceAssocSet & GetIfaceAssocSetMutable ()
IfaceAssocTupleFindIfaceAssocTuple (const Ipv4Address &ifaceAddr)
const IfaceAssocTupleFindIfaceAssocTuple (const Ipv4Address &ifaceAddr) const
void EraseIfaceAssocTuple (const IfaceAssocTuple &tuple)
void InsertIfaceAssocTuple (const IfaceAssocTuple &tuple)
const AssociationSet & GetAssociationSet () const
const Associations & GetAssociations () const
AssociationTupleFindAssociationTuple (const Ipv4Address &gatewayAddr, const Ipv4Address &networkAddr, const Ipv4Mask &netmask)
void EraseAssociationTuple (const AssociationTuple &tuple)
void InsertAssociationTuple (const AssociationTuple &tuple)
void EraseAssociation (const Association &tuple)
void InsertAssociation (const Association &tuple)
std::vector< Ipv4AddressFindNeighborInterfaces (const Ipv4Address &neighborMainAddr) const

Protected Attributes

LinkSet m_linkSet
 Link Set (RFC 3626, section 4.2.1).
NeighborSet m_neighborSet
 Neighbor Set (RFC 3626, section 4.3.1).
TwoHopNeighborSet m_twoHopNeighborSet
 2-hop Neighbor Set (RFC 3626, section 4.3.2).
TopologySet m_topologySet
 Topology Set (RFC 3626, section 4.4).
MprSet m_mprSet
 MPR Set (RFC 3626, section 4.3.3).
MprSelectorSet m_mprSelectorSet
 MPR Selector Set (RFC 3626, section 4.3.4).
DuplicateSet m_duplicateSet
 Duplicate Set (RFC 3626, section 3.4).
IfaceAssocSet m_ifaceAssocSet
 Interface Association Set (RFC 3626, section 4.1).
AssociationSet m_associationSet
 Association Set (RFC 3626, section12.2). Associations obtained from HNA messages generated by other nodes.
Associations m_associations
 The node's local Host Network Associations that will be advertised using HNA messages.

Detailed Description

This class encapsulates all data structures needed for maintaining internal state of an OLSR node.


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

Generated on 6 Jan 2011 for NS-3 by  doxygen 1.6.1