1.1 --- a/src/routing/olsr/olsr-state.h Thu Mar 13 19:00:30 2008 +0000
1.2 +++ b/src/routing/olsr/olsr-state.h Tue Dec 02 18:42:24 2008 +0000
1.3 @@ -46,29 +46,11 @@
1.4 DuplicateSet m_duplicateSet; ///< Duplicate Set (RFC 3626, section 3.4).
1.5 IfaceAssocSet m_ifaceAssocSet; ///< Interface Association Set (RFC 3626, section 4.1).
1.6
1.7 -// m_modified is set to true when any of the following databases is modified:
1.8 -// - the link set,
1.9 -// - the neighbor set,
1.10 -// - the 2-hop neighbor set,
1.11 -// - the topology set,
1.12 -// - the Multiple Interface Association Information Base,
1.13 - bool m_modified;
1.14 -
1.15 public:
1.16
1.17 OlsrState ()
1.18 - : m_modified (false)
1.19 {}
1.20
1.21 - bool GetModified () const
1.22 - {
1.23 - return m_modified;
1.24 - }
1.25 - void SetModified (bool modified)
1.26 - {
1.27 - m_modified = modified;
1.28 - }
1.29 -
1.30 // MPR selector
1.31 const MprSelectorSet & GetMprSelectors () const
1.32 {
1.33 @@ -78,6 +60,7 @@
1.34 void EraseMprSelectorTuple (const MprSelectorTuple &tuple);
1.35 void EraseMprSelectorTuples (const Ipv4Address &mainAddr);
1.36 void InsertMprSelectorTuple (const MprSelectorTuple &tuple);
1.37 + std::string PrintMprSelectorSet () const;
1.38
1.39 // Neighbor
1.40 const NeighborSet & GetNeighbors () const