src/devices/point-to-point/point-to-point-channel.h
changeset 1866 e7dbcc4df546
parent 973 2aea9e9f698c
child 1867 16deaedc0380
--- a/src/devices/point-to-point/point-to-point-channel.h	Mon Oct 01 14:14:31 2007 +0200
+++ b/src/devices/point-to-point/point-to-point-channel.h	Mon Oct 01 14:15:56 2007 +0200
@@ -22,13 +22,13 @@
 #include <list>
 #include "ns3/channel.h"
 #include "ns3/ptr.h"
-#include "ns3/packet.h"
 #include "ns3/nstime.h"
 #include "ns3/data-rate.h"
 
 namespace ns3 {
 
 class PointToPointNetDevice;
+class Packet;
 
 /**
  * \brief Simple Point To Point Channel.
@@ -84,11 +84,11 @@
    * \param device pointer to the netdevice to attach to the channel
    */
   void Attach (Ptr<PointToPointNetDevice> device);
-  bool TransmitStart (Packet& p, Ptr<PointToPointNetDevice> src,
+  bool TransmitStart (Ptr<Packet> p, Ptr<PointToPointNetDevice> src,
                       const Time& txTime);
   // Below two not needed
-  //bool TransmitEnd (Packet &p, Ptr<PointToPointNetDevice> src);
-  //void PropagationCompleteEvent(Packet p, Ptr<PointToPointNetDevice> src);
+  //bool TransmitEnd (Ptr<Packet> p, Ptr<PointToPointNetDevice> src);
+  //void PropagationCompleteEvent(Ptr<Packet> p, Ptr<PointToPointNetDevice> src);
 
 
   virtual uint32_t GetNDevices (void) const;