equal
deleted
inserted
replaced
115 void PointToPointNetDevice::SetInterframeGap(const Time& t) |
115 void PointToPointNetDevice::SetInterframeGap(const Time& t) |
116 { |
116 { |
117 m_tInterframeGap = t; |
117 m_tInterframeGap = t; |
118 } |
118 } |
119 |
119 |
120 bool PointToPointNetDevice::SendTo (Packet& p, const Address& dest, |
120 bool PointToPointNetDevice::SendTo (const Packet& packet, const Address& dest, |
121 uint16_t protocolNumber) |
121 uint16_t protocolNumber) |
122 { |
122 { |
|
123 Packet p = packet; |
123 NS_DEBUG ("PointToPointNetDevice::SendTo (" << &p << ", " << &dest << ")"); |
124 NS_DEBUG ("PointToPointNetDevice::SendTo (" << &p << ", " << &dest << ")"); |
124 NS_DEBUG ("PointToPointNetDevice::SendTo (): UID is " << p.GetUid () << ")"); |
125 NS_DEBUG ("PointToPointNetDevice::SendTo (): UID is " << p.GetUid () << ")"); |
125 |
126 |
126 // GFR Comment. Why is this an assertion? Can't a link legitimately |
127 // GFR Comment. Why is this an assertion? Can't a link legitimately |
127 // "go down" during the simulation? Shouldn't we just wait for it |
128 // "go down" during the simulation? Shouldn't we just wait for it |