src/devices/mesh/mesh-point-device.h
changeset 5070 c70964936d2e
parent 4928 825037c2d7ab
child 5083 5b154b30a8a1
--- a/src/devices/mesh/mesh-point-device.h	Mon Jun 15 18:42:23 2009 +0400
+++ b/src/devices/mesh/mesh-point-device.h	Mon Jun 15 19:06:23 2009 +0400
@@ -123,7 +123,7 @@
   void ReceiveFromDevice (Ptr<NetDevice> device, Ptr<const Packet> packet, uint16_t protocol,
                           Address const &source, Address const &destination, PacketType packetType);
   /// Forward packet down to interfaces 
-  void Forward (Ptr<NetDevice> incomingPort, Ptr<Packet> packet,
+  void Forward (Ptr<NetDevice> incomingPort, Ptr<const Packet> packet,
                 uint16_t protocol, const Mac48Address src, const Mac48Address dst);
   /**
    * Response callback for L2 routing protocol. This will be executed when routing information is ready.
@@ -162,7 +162,7 @@
            uint32_t,
            Mac48Address,
            Mac48Address,
-           Ptr<Packet>,
+           Ptr<const Packet>,
            uint16_t,
            MeshL2RoutingProtocol::RouteReplyCallback>  m_requestRoute;