mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
Use propagation loss
This commit is contained in:
parent
9fdd70166c
commit
582d6c58d0
6 changed files with 14 additions and 18 deletions
|
@ -578,15 +578,11 @@ MockNetDevice::AddLinkChangeCallback (Callback<void> callback)
|
|||
m_linkChangeCallbacks.ConnectWithoutContext (callback);
|
||||
}
|
||||
|
||||
//
|
||||
// This is a point-to-point device, so every transmission is a broadcast to
|
||||
// all of the devices on the network.
|
||||
//
|
||||
bool
|
||||
MockNetDevice::IsBroadcast (void) const
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -605,7 +601,7 @@ bool
|
|||
MockNetDevice::IsMulticast (void) const
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue