add mocked leo channel and device

This commit is contained in:
Tim Schubert 2020-06-24 20:01:02 +02:00
parent 45228b292e
commit aa4e5b5ef0
5 changed files with 179 additions and 32 deletions

View file

@ -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