24 #include "ns3/socket.h" 25 #include "ns3/callback.h" 27 #include "ns3/object.h" 29 #include "ns3/epc-x2-sap.h" 78 X2CellInfo (uint16_t localCellId, uint16_t remoteCellId);
virtual ~EpcX2(void)
Destructor.
virtual void DoSendHandoverRequest(EpcX2SapProvider::HandoverRequestParams params)
Send handover request function.
virtual ~X2IfaceInfo(void)
These service primitives of this part of the X2 SAP are provided by the X2 entity and issued by RRC e...
uint16_t m_remoteCellId
remote cell ID
Ptr< Socket > m_localUserPlaneSocket
local user plane socket
X2CellInfo & operator=(const X2CellInfo &)
Assignment operator.
uint16_t m_localCellId
local cell ID
Parameters of the HANDOVER REQUEST message.
static TypeId GetTypeId(void)
Get the type ID.
virtual void DoSendLoadInformation(EpcX2SapProvider::LoadInformationParams params)
Send load information function.
uint16_t m_x2cUdpPort
UDP ports to be used for the X2-C interface.
void RecvFromX2uSocket(Ptr< Socket > socket)
Method to be assigned to the recv callback of the X2-U (X2 User Plane) socket.
virtual ~X2CellInfo(void)
virtual void DoSendUeData(EpcX2SapProvider::UeDataParams params)
Send UE data function.
virtual void DoSendUeContextRelease(EpcX2SapProvider::UeContextReleaseParams params)
Send UE context release function.
virtual void DoSendSnStatusTransfer(EpcX2SapProvider::SnStatusTransferParams params)
Send SN status transfer function.
uint16_t m_x2uUdpPort
UDP ports to be used for the X2-U interface.
virtual void DoSendResourceStatusUpdate(EpcX2SapProvider::ResourceStatusUpdateParams params)
Send resource status update function.
X2IfaceInfo & operator=(const X2IfaceInfo &)
Assignment operator.
void RecvFromX2cSocket(Ptr< Socket > socket)
Method to be assigned to the recv callback of the X2-C (X2 Control Plane) socket. ...
Parameters of the HANDOVER PREPARATION FAILURE message.
Ptr< Socket > m_localCtrlPlaneSocket
local control plane socket
Parameters of the SN STATUS TRANSFER message.
virtual void DoSendHandoverRequestAck(EpcX2SapProvider::HandoverRequestAckParams params)
Send handover request ack function.
std::map< uint16_t, Ptr< X2IfaceInfo > > m_x2InterfaceSockets
Map the targetCellId to the corresponding (sourceSocket, remoteIpAddr) to be used to send the X2 mess...
X2IfaceInfo(Ipv4Address remoteIpAddr, Ptr< Socket > localCtrlPlaneSocket, Ptr< Socket > localUserPlaneSocket)
Constructor.
X2CellInfo(uint16_t localCellId, uint16_t remoteCellId)
Constructor.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Parameters of the RESOURCE STATUS UPDATE message.
This entity is installed inside an eNB and provides the functionality for the X2 interface.
Parameters of the UE CONTEXT RELEASE message.
Parameters of the HANDOVER REQUEST ACKNOWLEDGE message.
These service primitives of this part of the X2 SAP are provided by the RRC entity and issued by the ...
EpcX2SapUser * m_x2SapUser
X2 SAP user.
virtual void DoSendHandoverPreparationFailure(EpcX2SapProvider::HandoverPreparationFailureParams params)
Send handover preparation failure function.
Ipv4 addresses are stored in host order in this class.
EpcX2SapProvider * GetEpcX2SapProvider()
void SetEpcX2SapUser(EpcX2SapUser *s)
EpcX2SpecificEpcX2SapProvider.
EpcX2SapProvider * m_x2SapProvider
X2 SAP provider.
std::map< Ptr< Socket >, Ptr< X2CellInfo > > m_x2InterfaceCellIds
Map the localSocket (the one receiving the X2 message) to the corresponding (sourceCellId, targetCellId) associated with the X2 interface.
A base class which provides memory management and object aggregation.
void AddX2Interface(uint16_t enb1CellId, Ipv4Address enb1X2Address, uint16_t enb2CellId, Ipv4Address enb2X2Address)
Add an X2 interface to this EPC X2 entity.
virtual void DoDispose(void)
Destructor implementation.
Parameters of the UE DATA primitive.
Ipv4Address m_remoteIpAddr
remote IP address
A template-based reference counting class.
a unique identifier for an interface.