21 #ifndef SATELLITE_ORBITER_LLC_H
22 #define SATELLITE_ORBITER_LLC_H
68 virtual bool Enque(Ptr<Packet> packet, Address dest, uint8_t flowId);
87 uint32_t& nextMinTxO);
SatLlc base class holds the UT specific SatBaseEncapsulator instances, which are responsible of fragm...
virtual uint32_t GetNBytesInQueue() const
Get the total number of (new) bytes in all encapsulators.
virtual uint32_t GetNPacketsInQueue() const
Get the total number of (new) packets in all encapsulators.
SatOrbiterLlc holds the orbiter implementation of LLC layer.
virtual void CreateEncap(Ptr< EncapKey > key)
Virtual method to create a new encapsulator 'on-a-need-basis' dynamically.
virtual ~SatOrbiterLlc()
Destroy a SatOrbiterLlc.
virtual void DoDispose()
Dispose of this class instance.
Callback< void, Ptr< Packet >, const Address & > ReceiveSatelliteCallback
Receive callback used for sending packet to netdevice layer.
virtual void ReceiveHigherLayerPdu(Ptr< Packet > packet, Mac48Address source, Mac48Address dest)
Receive HL PDU from encapsulator/decapsulator entity.
virtual bool Enque(Ptr< Packet > packet, Address dest, uint8_t flowId)
Called from higher layer (SatNetDevice) to enque packet to LLC.
static TypeId GetTypeId(void)
Derived from Object.
virtual void CreateDecap(Ptr< EncapKey > key)
Virtual method to create a new decapsulator 'on-a-need-basis' dynamically.
SatOrbiterLlc()
Construct a SatOrbiterLlc.
virtual void ClearQueues()
Remove all packets from the queues.
virtual Ptr< Packet > NotifyTxOpportunity(uint32_t bytes, Mac48Address utAddr, uint8_t flowId, uint32_t &bytesLeft, uint32_t &nextMinTxO)
Called from lower layer (MAC) to inform a Tx opportunity of certain amount of bytes.
virtual void GetSchedulingContexts(std::vector< Ptr< SatSchedulingObject >> &output) const
Create and fill the scheduling objects based on LLC layer information.
ReceiveSatelliteCallback m_rxSatelliteCallback
The upper layer package receive callback.
void SetReceiveSatelliteCallback(SatOrbiterLlc::ReceiveSatelliteCallback cb)
Set Receive callback to forward packet to upper layer on satellite.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.