21 #ifndef EPC_MME_APPLICATION_H 22 #define EPC_MME_APPLICATION_H 24 #include "ns3/application.h" 25 #include "ns3/socket.h" 26 #include "ns3/epc-s1ap-sap.h" 96 void AddUe (uint64_t imsi);
121 void DoInitialUeMessage (uint64_t mmeUeS1Id, uint16_t enbUeS1Id, uint64_t imsi, uint16_t ecgi);
138 void DoPathSwitchRequest (uint64_t enbUeS1Id, uint64_t mmeUeS1Id, uint16_t cgi, std::list<EpcS1apSapMme::ErabSwitchedInDownlinkItem> erabToBeSwitchedInDownlinkList);
146 void DoErabReleaseIndication (uint64_t mmeUeS1Id, uint16_t enbUeS1Id, std::list<EpcS1apSapMme::ErabToBeReleasedIndication> erabToBeReleaseIndication);
240 #endif // EPC_MME_APPLICATION_H void RemoveBearer(Ptr< UeInfo > ueInfo, uint8_t epsBearerId)
This Function erases all contexts of bearer from MME side.
Hold info on an EPS bearer to be activated.
EpcS1apSapEnb * s1apSapEnb
EpcS1apSapEnb.
MME side of the S1-AP Service Access Point (SAP), provides the MME methods to be called when an S1-AP...
Ipv4Address m_mmeS11Addr
IPv4 address of the MME S11 interface.
void DoRecvDeleteBearerRequest(GtpcHeader &header, Ptr< Packet > packet)
Process GTP-C Delete Bearer Request message.
std::map< uint64_t, Ptr< UeInfo > > m_ueInfoMap
UeInfo stored by IMSI.
uint64_t mmeUeS1Id
mmeUeS1Id
void RecvFromS11Socket(Ptr< Socket > socket)
Reads the S11 messages from a socket.
void DoErabReleaseIndication(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, std::list< EpcS1apSapMme::ErabToBeReleasedIndication > erabToBeReleaseIndication)
Process ERAB Release Indication received from an eNB.
uint16_t m_gtpcUdpPort
UDP port for GTP-C protocol. Fixed by the standard to port 2123.
Ipv4Address s1uAddr
IP address of the S1-U interface.
void AddEnb(uint16_t ecgi, Ipv4Address enbS1UAddr, EpcS1apSapEnb *enbS1apSap)
Add a new eNB to the MME.
EpsBearer bearer
bearer QOS characteristics
EpcMmeApplication()
Constructor.
void DoInitialUeMessage(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, uint64_t imsi, uint16_t ecgi)
Process the S1 Initial UE Message received from an eNB.
void DoInitialContextSetupResponse(uint64_t mmeUeS1Id, uint16_t enbUeS1Id, std::list< EpcS1apSapMme::ErabSetupItem > erabSetupList)
Process the S1 Initial Context Setup Response received from an eNB.
Ptr< Socket > m_s11Socket
Socket to send/receive messages in the S11 interface.
eNB side of the S1-AP Service Access Point (SAP), provides the eNB methods to be called when an S1-AP...
The base class for all ns3 applications.
void DoRecvCreateSessionResponse(GtpcHeader &header, Ptr< Packet > packet)
Process GTP-C Create Session Response message.
EpcS1apSapMme * GetS1apSapMme()
uint16_t bearerCounter
bearer counter
std::map< uint16_t, Ptr< EnbInfo > > m_enbInfoMap
EnbInfo stored by EGCI.
static TypeId GetTypeId(void)
Get the type ID.
void AddUe(uint64_t imsi)
Add a new UE to the MME.
uint64_t imsi
UE identifier.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void DoPathSwitchRequest(uint64_t enbUeS1Id, uint64_t mmeUeS1Id, uint16_t cgi, std::list< EpcS1apSapMme::ErabSwitchedInDownlinkItem > erabToBeSwitchedInDownlinkList)
Process the S1 Path Switch Request received from an eNB.
virtual void DoDispose()
Destructor implementation.
virtual ~EpcMmeApplication()
Destructor.
void DoRecvModifyBearerResponse(GtpcHeader &header, Ptr< Packet > packet)
Process GTP-C Modify Bearer Response message.
Ipv4Address m_sgwS11Addr
IPv4 address of the SGW S11 interface.
std::list< BearerInfo > bearersToBeActivated
list of bearers to be activated
uint8_t AddBearer(uint64_t imsi, Ptr< EpcTft > tft, EpsBearer bearer)
Add an EPS bearer to the list of bearers to be activated for this UE.
This class contains the specification of EPS Bearers.
uint16_t enbUeS1Id
enbUeS1Id
EpcS1apSapMme * m_s1apSapMme
EpcS1apSapMme.
Ipv4 addresses are stored in host order in this class.
This application implements the Mobility Management Entity (MME) according to the 3GPP TS 23...
uint8_t bearerId
bearer ID
Template for the implementation of the EpcS1apSapMme as a member of an owner class of type C to which...
A template-based reference counting class.
a unique identifier for an interface.
void AddSgw(Ipv4Address sgwS11Addr, Ipv4Address mmeS11Addr, Ptr< Socket > mmeS11Socket)
Add a new SGW to the MME.
Ptr< EpcTft > tft
traffic flow template