24 #include "ns3/traced-value.h"
25 #include "ns3/trace-source-accessor.h"
27 #include "ns3/object.h"
29 #include "ns3/lte-pdcp-sap.h"
30 #include "ns3/lte-rlc-sap.h"
129 (uint16_t rnti, uint8_t lcid, uint32_t size);
141 (
const uint16_t rnti,
const uint8_t lcid,
142 const uint32_t size,
const uint64_t delay);
LTE PDCP entity, see 3GPP TS 36.323.
uint16_t m_rxSequenceNumber
State variables.
void SetLtePdcpSapUser(LtePdcpSapUser *s)
void(* PduRxTracedCallback)(const uint16_t rnti, const uint8_t lcid, const uint32_t size, const uint64_t delay)
TracedCallback signature for PDU receive event.
LteRlcSapUser * GetLteRlcSapUser()
static const uint16_t MAX_PDCP_SN
maximum PDCP SN
virtual void DoDispose()
Destructor implementation.
LtePdcpSapUser * m_pdcpSapUser
PDCP SAP user.
LtePdcpSapProvider * GetLtePdcpSapProvider()
virtual void DoReceivePdu(Ptr< Packet > p)
Interface provided to lower RLC entity.
LteRlcSapUser * m_rlcSapUser
RLC SAP user.
uint16_t m_txSequenceNumber
State variables.
void SetStatus(Status s)
Set the status of the PDCP.
virtual void DoTransmitPdcpSdu(LtePdcpSapProvider::TransmitPdcpSduParameters params)
Interface provided to upper RRC entity.
LteRlcSapProvider * m_rlcSapProvider
RLC SAP provider.
TracedCallback< uint16_t, uint8_t, uint32_t, uint64_t > m_rxPdu
Used to inform of a PDU reception from the RLC SAP user.
static const uint16_t m_maxPdcpSn
Constants.
void SetRnti(uint16_t rnti)
TracedCallback< uint16_t, uint8_t, uint32_t > m_txPdu
Used to inform of a PDU delivery to the RLC SAP provider.
void(* PduTxTracedCallback)(uint16_t rnti, uint8_t lcid, uint32_t size)
TracedCallback for PDU transmission event.
LtePdcpSapProvider * m_pdcpSapProvider
PDCP SAP provider.
void SetLteRlcSapProvider(LteRlcSapProvider *s)
void SetLcId(uint8_t lcId)
static TypeId GetTypeId(void)
Get the type ID.
Service Access Point (SAP) offered by the PDCP entity to the RRC entity See 3GPP 36....
Service Access Point (SAP) offered by the PDCP entity to the RRC entity See 3GPP 36....
LtePdcpSpecificLtePdcpSapProvider class.
LtePdcpSpecificLteRlcSapUser class.
Service Access Point (SAP) offered by the UM-RLC and AM-RLC entities to the PDCP entity See 3GPP 36....
Service Access Point (SAP) offered by the UM-RLC and AM-RLC entities to the PDCP entity See 3GPP 36....
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Status variables of the PDCP.
uint16_t rxSn
RX sequence number.
uint16_t txSn
TX sequence number.
Parameters for LtePdcpSapProvider::TransmitPdcpSdu.