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