equal
deleted
inserted
replaced
272 return false; |
272 return false; |
273 } |
273 } |
274 } |
274 } |
275 |
275 |
276 bool |
276 bool |
277 CsmaNetDevice::SendTo (Packet& p, const Address& dest, uint16_t protocolNumber) |
277 CsmaNetDevice::SendTo ( |
278 { |
278 const Packet& packet, |
|
279 const Address& dest, |
|
280 uint16_t protocolNumber) |
|
281 { |
|
282 Packet p = packet; |
279 NS_DEBUG ("CsmaNetDevice::SendTo (" << &p << ")"); |
283 NS_DEBUG ("CsmaNetDevice::SendTo (" << &p << ")"); |
280 NS_DEBUG ("CsmaNetDevice::SendTo (): UID is " << p.GetUid () << ")"); |
284 NS_DEBUG ("CsmaNetDevice::SendTo (): UID is " << p.GetUid () << ")"); |
281 |
285 |
282 NS_ASSERT (IsLinkUp ()); |
286 NS_ASSERT (IsLinkUp ()); |
283 |
287 |