src/devices/mesh/dot11s/hwmp-protocol.cc
changeset 5145 7f50ab7ce59d
parent 5134 26472734b69f
child 5147 546c5d9a7e64
equal deleted inserted replaced
5144:b8a77656a7b8 5145:7f50ab7ce59d
   199 {
   199 {
   200   for (std::map<Mac48Address, EventId>::iterator i = m_preqTimeouts.begin (); i != m_preqTimeouts.end (); i ++)
   200   for (std::map<Mac48Address, EventId>::iterator i = m_preqTimeouts.begin (); i != m_preqTimeouts.end (); i ++)
   201     {
   201     {
   202       i->second.Cancel ();
   202       i->second.Cancel ();
   203     }
   203     }
       
   204   m_proactivePreqTimer.Cancel();
   204   m_preqTimeouts.clear ();
   205   m_preqTimeouts.clear ();
   205   m_lastDataSeqno.clear ();
   206   m_lastDataSeqno.clear ();
   206   m_lastHwmpSeqno.clear ();
   207   m_lastHwmpSeqno.clear ();
   207   m_rqueue.clear ();
   208   m_rqueue.clear ();
   208   m_rtable = 0;
   209   m_rtable = 0;
   209 
       
   210   //TODO: clear plugins
       
   211 }
   210 }
   212 
   211 
   213 bool
   212 bool
   214 HwmpProtocol::RequestRoute (
   213 HwmpProtocol::RequestRoute (
   215   uint32_t sourceIface,
   214   uint32_t sourceIface,