59 return m_mprSelectorSet;
63 void EraseMprSelectorTuples (
const Ipv4Address &mainAddr);
65 std::string PrintMprSelectorSet ()
const;
81 void EraseNeighborTuple (
const Ipv4Address &mainAddr);
87 return m_twoHopNeighborSet;
91 return m_twoHopNeighborSet;
96 void EraseTwoHopNeighborTuples (
const Ipv4Address &neighbor);
97 void EraseTwoHopNeighborTuples (
const Ipv4Address &neighbor,
104 void SetMprSet (
MprSet mprSet);
106 MprSet GetMprSet ()
const;
110 uint16_t sequenceNumber);
121 void EraseLinkTuple (
const LinkTuple &tuple);
127 return m_topologySet;
134 void EraseOlderTopologyTuples (
const Ipv4Address &lastAddr,
141 return m_ifaceAssocSet;
145 return m_ifaceAssocSet;
155 return m_associationSet;
160 return m_associations;
173 std::vector<Ipv4Address>
174 FindNeighborInterfaces (
const Ipv4Address &neighborMainAddr)
const;
std::vector< TopologyTuple > TopologySet
Topology Set type.
This class encapsulates all data structures needed for maintaining internal state of an OLSR node...
keep track of time values and allow control of global simulation resolution
std::vector< Association > Associations
Association Set type.
a class to represent an Ipv4 address mask
NeighborSet & GetNeighbors()
Associations m_associations
The node's local Host Network Associations that will be advertised using HNA messages.
TopologySet m_topologySet
Topology Set (RFC 3626, section 4.4).
const LinkSet & GetLinks() const
MprSelectorSet m_mprSelectorSet
MPR Selector Set (RFC 3626, section 4.3.4).
TwoHopNeighborSet & GetTwoHopNeighbors()
std::vector< LinkTuple > LinkSet
Link Set type.
std::vector< DuplicateTuple > DuplicateSet
Duplicate Set type.
AssociationSet m_associationSet
Association Set (RFC 3626, section12.2). Associations obtained from HNA messages generated by other n...
NeighborSet m_neighborSet
Neighbor Set (RFC 3626, section 4.3.1).
const Associations & GetAssociations() const
std::vector< IfaceAssocTuple > IfaceAssocSet
Interface Association Set type.
const IfaceAssocSet & GetIfaceAssocSet() const
DuplicateSet m_duplicateSet
Duplicate Set (RFC 3626, section 3.4).
TwoHopNeighborSet m_twoHopNeighborSet
2-hop Neighbor Set (RFC 3626, section 4.3.2).
LinkSet m_linkSet
Link Set (RFC 3626, section 4.2.1).
Ipv4 addresses are stored in host order in this class.
std::vector< NeighborTuple > NeighborSet
Neighbor Set type.
std::set< Ipv4Address > MprSet
MPR Set type.
const TwoHopNeighborSet & GetTwoHopNeighbors() const
std::vector< TwoHopNeighborTuple > TwoHopNeighborSet
2-hop Neighbor Set type.
const AssociationSet & GetAssociationSet() const
const NeighborSet & GetNeighbors() const
MprSet m_mprSet
MPR Set (RFC 3626, section 4.3.3).
std::vector< MprSelectorTuple > MprSelectorSet
MPR Selector Set type.
const MprSelectorSet & GetMprSelectors() const
IfaceAssocSet & GetIfaceAssocSetMutable()
An Interface Association Tuple.
The type "list of interface addresses".
std::vector< AssociationTuple > AssociationSet
Association Set type.
const TopologySet & GetTopologySet() const
IfaceAssocSet m_ifaceAssocSet
Interface Association Set (RFC 3626, section 4.1).