src/devices/mesh/dot11s/hwmp-protocol.h
changeset 5130 b5062e8e0da1
parent 5129 5688b8da4526
child 5132 aee541a30256
--- a/src/devices/mesh/dot11s/hwmp-protocol.h	Wed Jul 22 14:52:42 2009 +0400
+++ b/src/devices/mesh/dot11s/hwmp-protocol.h	Wed Jul 22 15:56:55 2009 +0400
@@ -67,11 +67,11 @@
    * via MeshPointDevice::GetObject<dot11s::HwmpProtocol>();
    */
   bool Install (Ptr<MeshPointDevice>);
-  void PeerLinkStatus(Mac48Address meshPontAddress, Mac48Address peerAddress, uint32_t interface,bool status);
+  void PeerLinkStatus (Mac48Address meshPontAddress, Mac48Address peerAddress, uint32_t interface,bool status);
   ///\brief This callback is used to obtain active neighbours on a
   //given interface
   ///\param interface is the interface ID
-  void SetNeighboursCallback(Callback<std::vector<Mac48Address>, uint32_t> cb);
+  void SetNeighboursCallback (Callback<std::vector<Mac48Address>, uint32_t> cb);
   ///\name Proactive PREQ mechanism:
   ///\{
   void SetRoot ();
@@ -89,9 +89,9 @@
 
   ///\name Interaction with HWMP MAC plugin
   //\{
-  void ReceivePreq(IePreq preq, Mac48Address from, uint32_t interface, Mac48Address fromMp, uint32_t metric);
-  void ReceivePrep(IePrep prep, Mac48Address from, uint32_t interface, Mac48Address fromMp, uint32_t metric);
-  void ReceivePerr(std::vector<IePerr::FailedDestination>, Mac48Address from, uint32_t interface, Mac48Address fromMp);
+  void ReceivePreq (IePreq preq, Mac48Address from, uint32_t interface, Mac48Address fromMp, uint32_t metric);
+  void ReceivePrep (IePrep prep, Mac48Address from, uint32_t interface, Mac48Address fromMp, uint32_t metric);
+  void ReceivePerr (std::vector<IePerr::FailedDestination>, Mac48Address from, uint32_t interface, Mac48Address fromMp);
   void SendPrep (
       Mac48Address src,
       Mac48Address dst,
@@ -135,7 +135,7 @@
    * \param uint32_t is the seqno
    * \param Mac48Address is the mesh source addrress of the frame
    */
-  bool DropDataFrame(uint32_t, Mac48Address);
+  bool DropDataFrame (uint32_t, Mac48Address);
   //\}
 private:
   /// Packet waiting its routing information
@@ -147,7 +147,7 @@
     uint32_t inInterface; ///< incoming device interface ID. (if packet has come from upper layers, this is Mesh point ID)
     RouteReplyCallback reply; ///< how to reply
 
-    QueuedPacket () : pkt(0), protocol(0), inInterface(0) {}
+    QueuedPacket () : pkt (0), protocol (0), inInterface (0) {}
   };
 
   ///\name Methods related to Queue/Dequeue procedures