21 #ifndef SATELLITE_ORBITER_USER_MAC_H
22 #define SATELLITE_ORBITER_USER_MAC_H
31 #include <ns3/address.h>
32 #include <ns3/nstime.h>
33 #include <ns3/object.h>
34 #include <ns3/packet.h>
106 virtual bool AddPeer(Mac48Address address);
114 virtual bool RemovePeer(Mac48Address address);
SatLinkDir_t
Link direction used for packet tracing.
The SatOrbiterMac models the global link MAC layer of the satellite node.
The SatOrbiterUserMac models the user link MAC layer of the satellite node.
virtual void EnquePacket(Ptr< Packet > packet)
Add new packet to the LLC queue.
virtual ~SatOrbiterUserMac()
Destructor for SatOrbiterUserMac.
virtual bool RemovePeer(Mac48Address address)
Remove a remote peer from this MAC.
virtual bool AddPeer(Mac48Address address)
Add a remote peer to this MAC.
std::set< Mac48Address > m_peers
List of UT MAC connected to this MAC.
TypeId GetInstanceTypeId(void) const
void Receive(SatPhy::PacketContainer_t packets, Ptr< SatSignalParameters > txParams)
Receive packet from lower layer.
virtual void DoDispose(void)
Dispose of this class instance.
virtual SatEnums::SatLinkDir_t GetSatLinkRxDir()
Get the link RX direction.
SatOrbiterUserMac(void)
Default constructor.
virtual SatEnums::SatLinkDir_t GetSatLinkTxDir()
Get the link TX direction.
static TypeId GetTypeId(void)
inherited from Object
virtual void DoInitialize(void)
void ReceiveSignalingPacket(Ptr< Packet > packet)
virtual Address GetRxUtAddress(Ptr< Packet > packet)
Get the UT address associated to this RX packet.
virtual bool HasPeer()
Indicates if at least one device is connected in this beam.
SatSignalParameters::PacketsInBurst_t PacketContainer_t
Define PacketContainer in SatPhy.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.