20 #ifndef SATELLITE_SIMPLE_CHANNEL_H
21 #define SATELLITE_SIMPLE_CHANNEL_H
23 #include <ns3/channel.h>
24 #include <ns3/mac48-address.h>
33 class SatSimpleNetDevice;
68 virtual void Send(Ptr<Packet> p,
72 Ptr<SatSimpleNetDevice> sender);
79 virtual void Add(Ptr<SatSimpleNetDevice> device);
83 virtual Ptr<NetDevice>
GetDevice(std::size_t i)
const;
The satellite simple channel, for satellite public and backbone networks.
SatSimpleChannel()
Default constructor.
virtual void Send(Ptr< Packet > p, uint16_t protocol, Mac48Address to, Mac48Address from, Ptr< SatSimpleNetDevice > sender)
A packet is sent by a net device.
virtual std::size_t GetNDevices(void) const
std::vector< Ptr< SatSimpleNetDevice > > m_devices
static TypeId GetTypeId(void)
Get the type ID.
virtual void Add(Ptr< SatSimpleNetDevice > device)
Attached a net device to the channel.
virtual Ptr< NetDevice > GetDevice(std::size_t i) const
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.