mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-09 18:41:42 +02:00
add mocked leo channel and device
This commit is contained in:
parent
45228b292e
commit
aa4e5b5ef0
5 changed files with 179 additions and 32 deletions
|
@ -30,7 +30,7 @@
|
|||
#include "ns3/mobility-module.h"
|
||||
#include "ns3/propagation-delay-model.h"
|
||||
#include "ns3/propagation-loss-model.h"
|
||||
#include "mock-net-device.h"
|
||||
#include "leo-mock-net-device.h"
|
||||
#include "mock-channel.h"
|
||||
|
||||
namespace ns3 {
|
||||
|
@ -63,10 +63,8 @@ protected:
|
|||
|
||||
enum ChannelType
|
||||
{
|
||||
GW_FORWARD,
|
||||
GW_RETURN,
|
||||
UT_FORWARD,
|
||||
UT_RETURN,
|
||||
GW,
|
||||
UT,
|
||||
UNKNOWN
|
||||
};
|
||||
|
||||
|
@ -78,6 +76,8 @@ private:
|
|||
*/
|
||||
ChannelType m_channelType;
|
||||
|
||||
bool IsChannel (Ptr<LeoMockNetDevice> dstType, Ptr<LeoMockNetDevice> srcType, bool isBroadcast);
|
||||
|
||||
}; // class MockChannel
|
||||
|
||||
} // namespace ns3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue