A Discrete-Event Network Simulator
API
ns3::EpcSgwApplication Class Reference

This application implements the Serving Gateway Entity (SGW) according to the 3GPP TS 23.401 document. More...

#include "epc-sgw-application.h"

+ Inheritance diagram for ns3::EpcSgwApplication:
+ Collaboration diagram for ns3::EpcSgwApplication:

Classes

struct  EnbInfo
 EnbInfo structure. More...
 

Public Member Functions

 EpcSgwApplication (const Ptr< Socket > s1uSocket, Ipv4Address s5Addr, const Ptr< Socket > s5uSocket, const Ptr< Socket > s5cSocket)
 Constructor that binds callback methods of sockets. More...
 
 ~EpcSgwApplication () override
 Destructor. More...
 
void AddEnb (uint16_t cellId, Ipv4Address enbAddr, Ipv4Address sgwAddr)
 Let the SGW be aware of a new eNB. More...
 
void AddMme (Ipv4Address mmeS11Addr, Ptr< Socket > s11Socket)
 Let the SGW be aware of an MME. More...
 
void AddPgw (Ipv4Address pgwAddr)
 Let the SGW be aware of a PGW. More...
 
void DoDispose () override
 Destructor implementation. More...
 
- Public Member Functions inherited from ns3::Application
 Application ()
 
 ~Application () override
 
Ptr< NodeGetNode () const
 
void SetNode (Ptr< Node > node)
 
void SetStartTime (Time start)
 Specify application start time. More...
 
void SetStopTime (Time stop)
 Specify application stop time. More...
 
- Public Member Functions inherited from ns3::Object
 Object ()
 Constructor. More...
 
 ~Object () override
 Destructor. More...
 
void AggregateObject (Ptr< Object > other)
 Aggregate two Objects together. More...
 
void Dispose ()
 Dispose of this Object. More...
 
AggregateIterator GetAggregateIterator () const
 Get an iterator to the Objects aggregated to this one. More...
 
TypeId GetInstanceTypeId () const override
 Get the most derived TypeId for this Object. More...
 
template<typename T >
Ptr< T > GetObject () const
 Get a pointer to the requested aggregated Object. More...
 
template<>
Ptr< ObjectGetObject () const
 Specialization of () for objects of type ns3::Object. More...
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId. More...
 
template<>
Ptr< ObjectGetObject (TypeId tid) const
 Specialization of (TypeId tid) for objects of type ns3::Object. More...
 
void Initialize ()
 Invoke DoInitialize on all Objects aggregated to this one. More...
 
bool IsInitialized () const
 Check if the object has been initialized. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount () const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o[[maybe_unused]])
 Assignment operator. More...
 
void Ref () const
 Increment the reference count. More...
 
void Unref () const
 Decrement the reference count. More...
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor. More...
 
void GetAttribute (std::string name, AttributeValue &value) const
 Get the value of an attribute, raising fatal errors if unsuccessful. More...
 
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising errors. More...
 
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful. More...
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors. More...
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context. More...
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context. More...
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context. More...
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context. More...
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::Application
static TypeId GetTypeId ()
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId ()
 Register this type. More...
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId ()
 Get the type ID. More...
 

Private Member Functions

void DoRecvCreateSessionRequest (Ptr< Packet > packet)
 Process GTP-C Create Session Request message. More...
 
void DoRecvCreateSessionResponse (Ptr< Packet > packet)
 Process GTP-C Create Session Response message. More...
 
void DoRecvDeleteBearerCommand (Ptr< Packet > packet)
 Process GTP-C Delete Bearer Command message. More...
 
void DoRecvDeleteBearerRequest (Ptr< Packet > packet)
 Process GTP-C Delete Bearer Request message. More...
 
void DoRecvDeleteBearerResponse (Ptr< Packet > packet)
 Process GTP-C Delete Bearer Response message. More...
 
void DoRecvModifyBearerRequest (Ptr< Packet > packet)
 Process GTP-C Modify Bearer Request message. More...
 
void DoRecvModifyBearerResponse (Ptr< Packet > packet)
 Process GTP-C Modify Bearer Response message. More...
 
void RecvFromS11Socket (Ptr< Socket > socket)
 Method to be assigned to the recv callback of the S11 socket. More...
 
void RecvFromS1uSocket (Ptr< Socket > socket)
 Method to be assigned to the recv callback of the S1-U socket. More...
 
void RecvFromS5cSocket (Ptr< Socket > socket)
 Method to be assigned to the recv callback of the S5-C socket. More...
 
void RecvFromS5uSocket (Ptr< Socket > socket)
 Method to be assigned to the recv callback of the S5-U socket. More...
 
void SendToS1uSocket (Ptr< Packet > packet, Ipv4Address enbS1uAddress, uint32_t teid)
 Send a data packet to an eNB via the S1-U interface. More...
 
void SendToS5uSocket (Ptr< Packet > packet, Ipv4Address pgwAddr, uint32_t teid)
 Send a data packet to the PGW via the S5 interface. More...
 

Private Attributes

std::map< uint32_t, Ipv4Addressm_enbByTeidMap
 Map for eNB address by TEID. More...
 
std::map< uint16_t, EnbInfom_enbInfoByCellId
 Map for eNB info by cell ID. More...
 
uint16_t m_gtpcUdpPort
 UDP port to be used for GTP-C. More...
 
uint16_t m_gtpuUdpPort
 UDP port to be used for GTP-U. More...
 
Ipv4Address m_mmeS11Addr
 MME address in the S11 interface. More...
 
std::map< uint32_t, GtpcHeader::Fteid_tm_mmeS11FteidBySgwS5cTeid
 MME S11 FTEID by SGW S5C TEID. More...
 
Ipv4Address m_pgwAddr
 PGW address in the S5 interface. More...
 
Ptr< Socketm_s11Socket
 UDP socket to send/receive control messages to/from the S11 interface. More...
 
Ptr< Socketm_s1uSocket
 UDP socket to send/receive GTP-U packets to/from the S1-U interface. More...
 
Ipv4Address m_s5Addr
 SGW address in the S5 interface. More...
 
Ptr< Socketm_s5cSocket
 UDP socket to send/receive GTP-C packets to/from the S5 interface. More...
 
Ptr< Socketm_s5uSocket
 UDP socket to send/receive GTP-U packets to/from the S5 interface. More...
 
uint32_t m_teidCount
 TEID count. More...
 

Additional Inherited Members

- Public Types inherited from ns3::Application
typedef void(* DelayAddressCallback) (const Time &delay, const Address &from)
 Common callback signature for packet delay and address. More...
 
typedef void(* StateTransitionCallback) (const std::string &oldState, const std::string &newState)
 Common signature used by callbacks to application's state transition trace source. More...
 
- Protected Member Functions inherited from ns3::Application
void DoDispose () override
 Destructor implementation. More...
 
void DoInitialize () override
 Initialize() implementation. More...
 
- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 Copy an Object. More...
 
virtual void NotifyNewAggregate ()
 Notify all Objects aggregated to this one of a new Object being aggregated. More...
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 Complete construction of ObjectBase; invoked by derived classes. More...
 
virtual void NotifyConstructionCompleted ()
 Notifier called once the ObjectBase is fully constructed. More...
 
- Protected Attributes inherited from ns3::Application
Ptr< Nodem_node
 The node that this application is installed on. More...
 
EventId m_startEvent
 The event that will fire at m_startTime to start the application. More...
 
Time m_startTime
 The simulation time that the application will start. More...
 
EventId m_stopEvent
 The event that will fire at m_stopTime to end the application. More...
 
Time m_stopTime
 The simulation time that the application will end. More...
 

Detailed Description

This application implements the Serving Gateway Entity (SGW) according to the 3GPP TS 23.401 document.

This Application implements the SGW side of the S5 interface between the SGW node and the PGW node and the SGW side of the S11 interface between the SGW node and the MME node hosts. It supports the following functions and messages:

  • S5 connectivity (i.e. GTPv2-C signalling and GTP-U data plane)
  • Bearer management functions including dedicated bearer establishment
  • UL and DL bearer binding
  • Tunnel Management messages

Others functions enumerated in section 4.4.3.2 of 3GPP TS 23.401 are not supported.

Definition at line 51 of file epc-sgw-application.h.

Constructor & Destructor Documentation

◆ EpcSgwApplication()

ns3::EpcSgwApplication::EpcSgwApplication ( const Ptr< Socket s1uSocket,
Ipv4Address  s5Addr,
const Ptr< Socket s5uSocket,
const Ptr< Socket s5cSocket 
)

Constructor that binds callback methods of sockets.

Parameters
s1uSocketsocket used to send/receive GTP-U packets to/from the eNBs
s5AddrIPv4 address of the S5 interface
s5uSocketsocket used to send/receive GTP-U packets to/from the PGW
s5cSocketsocket used to send/receive GTP-C packets to/from the PGW

Definition at line 35 of file epc-sgw-application.cc.

References m_s1uSocket, m_s5cSocket, m_s5uSocket, ns3::MakeCallback(), NS_LOG_FUNCTION, RecvFromS1uSocket(), RecvFromS5cSocket(), RecvFromS5uSocket(), and ns3::Socket::SetRecvCallback().

+ Here is the call graph for this function:

◆ ~EpcSgwApplication()

ns3::EpcSgwApplication::~EpcSgwApplication ( )
override

Destructor.

Definition at line 53 of file epc-sgw-application.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

◆ AddEnb()

void ns3::EpcSgwApplication::AddEnb ( uint16_t  cellId,
Ipv4Address  enbAddr,
Ipv4Address  sgwAddr 
)

Let the SGW be aware of a new eNB.

Parameters
cellIdthe cell identifier
enbAddrthe address of the eNB
sgwAddrthe address of the SGW

Definition at line 94 of file epc-sgw-application.cc.

References ns3::EpcSgwApplication::EnbInfo::enbAddr, m_enbInfoByCellId, NS_LOG_FUNCTION, and ns3::EpcSgwApplication::EnbInfo::sgwAddr.

◆ AddMme()

void ns3::EpcSgwApplication::AddMme ( Ipv4Address  mmeS11Addr,
Ptr< Socket s11Socket 
)

Let the SGW be aware of an MME.

Parameters
mmeS11Addrthe address of the MME
s11Socketthe socket to send/receive messages from the MME

Definition at line 78 of file epc-sgw-application.cc.

References m_mmeS11Addr, m_s11Socket, ns3::MakeCallback(), NS_LOG_FUNCTION, RecvFromS11Socket(), and ns3::Socket::SetRecvCallback().

+ Here is the call graph for this function:

◆ AddPgw()

void ns3::EpcSgwApplication::AddPgw ( Ipv4Address  pgwAddr)

Let the SGW be aware of a PGW.

Parameters
pgwAddrthe address of the PGW

Definition at line 87 of file epc-sgw-application.cc.

References m_pgwAddr, and NS_LOG_FUNCTION.

◆ DoDispose()

void ns3::EpcSgwApplication::DoDispose ( void  )
overridevirtual

Destructor implementation.

This method is called by Dispose() or by the Object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.

It is safe to call GetObject() from within this method.

Reimplemented from ns3::Object.

Definition at line 59 of file epc-sgw-application.cc.

References m_s1uSocket, m_s5cSocket, m_s5uSocket, ns3::MakeNullCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

+ Here is the call graph for this function:

◆ DoRecvCreateSessionRequest()

void ns3::EpcSgwApplication::DoRecvCreateSessionRequest ( Ptr< Packet packet)
private

Process GTP-C Create Session Request message.

Parameters
packetthe packet containing the message

Definition at line 228 of file epc-sgw-application.cc.

References ns3::Packet::AddHeader(), ns3::GtpcHeader::Fteid_t::addr, ns3::GtpcCreateSessionRequestMessage::BearerContextToBeCreated::bearerLevelQos, ns3::GtpcHeader::ComputeMessageLength(), ns3::GtpcCreateSessionRequestMessage::BearerContextToBeCreated::epsBearerId, ns3::GtpcCreateSessionRequestMessage::GetBearerContextsToBeCreated(), ns3::GtpcCreateSessionRequestMessage::GetImsi(), ns3::GtpcCreateSessionRequestMessage::GetSenderCpFteid(), ns3::GtpcCreateSessionRequestMessage::GetUliEcgi(), ns3::GtpcHeader::Fteid_t::interfaceType, m_enbByTeidMap, m_enbInfoByCellId, m_gtpcUdpPort, m_mmeS11FteidBySgwS5cTeid, m_pgwAddr, m_s5Addr, m_s5cSocket, m_teidCount, NS_ABORT_IF, NS_ASSERT_MSG, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Packet::RemoveHeader(), ns3::GtpcHeader::S11_MME_GTPC, ns3::GtpcHeader::S5_SGW_GTPC, ns3::GtpcHeader::S5_SGW_GTPU, ns3::Socket::SendTo(), ns3::GtpcCreateSessionRequestMessage::SetBearerContextsToBeCreated(), ns3::GtpcCreateSessionRequestMessage::SetImsi(), ns3::GtpcCreateSessionRequestMessage::SetSenderCpFteid(), ns3::GtpcHeader::SetTeid(), ns3::GtpcCreateSessionRequestMessage::SetUliEcgi(), ns3::GtpcCreateSessionRequestMessage::BearerContextToBeCreated::sgwS5uFteid, ns3::GtpcHeader::Fteid_t::teid, and ns3::GtpcCreateSessionRequestMessage::BearerContextToBeCreated::tft.

Referenced by RecvFromS11Socket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoRecvCreateSessionResponse()

◆ DoRecvDeleteBearerCommand()

void ns3::EpcSgwApplication::DoRecvDeleteBearerCommand ( Ptr< Packet packet)
private

◆ DoRecvDeleteBearerRequest()

void ns3::EpcSgwApplication::DoRecvDeleteBearerRequest ( Ptr< Packet packet)
private

Process GTP-C Delete Bearer Request message.

Parameters
packetthe packet containing the message

Definition at line 458 of file epc-sgw-application.cc.

References ns3::Packet::AddHeader(), ns3::GtpcHeader::ComputeMessageLength(), ns3::GtpcDeleteBearerRequestMessage::GetEpsBearerIds(), ns3::GtpcHeader::GetTeid(), m_gtpcUdpPort, m_mmeS11Addr, m_s11Socket, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Packet::RemoveHeader(), ns3::Socket::SendTo(), ns3::GtpcDeleteBearerRequestMessage::SetEpsBearerIds(), and ns3::GtpcHeader::SetTeid().

Referenced by RecvFromS5cSocket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoRecvDeleteBearerResponse()

void ns3::EpcSgwApplication::DoRecvDeleteBearerResponse ( Ptr< Packet packet)
private

Process GTP-C Delete Bearer Response message.

Parameters
packetthe packet containing the message

Definition at line 374 of file epc-sgw-application.cc.

References ns3::Packet::AddHeader(), ns3::GtpcHeader::ComputeMessageLength(), ns3::GtpcDeleteBearerResponseMessage::GetEpsBearerIds(), ns3::GtpcHeader::GetTeid(), m_gtpcUdpPort, m_pgwAddr, m_s5cSocket, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Packet::RemoveHeader(), ns3::Socket::SendTo(), ns3::GtpcDeleteBearerResponseMessage::SetEpsBearerIds(), and ns3::GtpcHeader::SetTeid().

Referenced by RecvFromS11Socket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoRecvModifyBearerRequest()

◆ DoRecvModifyBearerResponse()

void ns3::EpcSgwApplication::DoRecvModifyBearerResponse ( Ptr< Packet packet)
private

Process GTP-C Modify Bearer Response message.

Parameters
packetthe packet containing the message

Definition at line 439 of file epc-sgw-application.cc.

References ns3::Packet::AddHeader(), ns3::GtpcHeader::ComputeMessageLength(), ns3::GtpcHeader::GetTeid(), m_gtpcUdpPort, m_mmeS11Addr, m_s11Socket, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Packet::RemoveHeader(), ns3::GtpcIes::REQUEST_ACCEPTED, ns3::Socket::SendTo(), ns3::GtpcModifyBearerResponseMessage::SetCause(), and ns3::GtpcHeader::SetTeid().

Referenced by RecvFromS5cSocket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTypeId()

TypeId ns3::EpcSgwApplication::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 71 of file epc-sgw-application.cc.

References ns3::TypeId::SetParent().

+ Here is the call graph for this function:

◆ RecvFromS11Socket()

void ns3::EpcSgwApplication::RecvFromS11Socket ( Ptr< Socket socket)
private

Method to be assigned to the recv callback of the S11 socket.

It is called when the SGW receives a control packet from the MME.

Parameters
socketpointer to the S11 socket

Definition at line 104 of file epc-sgw-application.cc.

References ns3::GtpcHeader::CreateSessionRequest, ns3::GtpcHeader::DeleteBearerCommand, ns3::GtpcHeader::DeleteBearerResponse, DoRecvCreateSessionRequest(), DoRecvDeleteBearerCommand(), DoRecvDeleteBearerResponse(), DoRecvModifyBearerRequest(), ns3::GtpcHeader::GetMessageType(), m_s11Socket, ns3::GtpcHeader::ModifyBearerRequest, NS_ASSERT, NS_FATAL_ERROR, NS_LOG_FUNCTION, ns3::Packet::PeekHeader(), and ns3::Socket::Recv().

Referenced by AddMme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RecvFromS1uSocket()

void ns3::EpcSgwApplication::RecvFromS1uSocket ( Ptr< Socket socket)
private

Method to be assigned to the recv callback of the S1-U socket.

It is called when the SGW receives a data packet from the eNB that is to be forwarded to the PGW.

Parameters
socketpointer to the S1-U socket

Definition at line 183 of file epc-sgw-application.cc.

References ns3::GtpuHeader::GetTeid(), m_pgwAddr, m_s1uSocket, NS_ASSERT, NS_LOG_FUNCTION, ns3::Socket::Recv(), ns3::Packet::RemoveHeader(), and SendToS5uSocket().

Referenced by EpcSgwApplication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RecvFromS5cSocket()

void ns3::EpcSgwApplication::RecvFromS5cSocket ( Ptr< Socket socket)
private

Method to be assigned to the recv callback of the S5-C socket.

It is called when the SGW receives a control packet from the PGW.

Parameters
socketpointer to the S5-C socket

Definition at line 153 of file epc-sgw-application.cc.

References ns3::GtpcHeader::CreateSessionResponse, ns3::GtpcHeader::DeleteBearerRequest, DoRecvCreateSessionResponse(), DoRecvDeleteBearerRequest(), DoRecvModifyBearerResponse(), ns3::GtpcHeader::GetMessageType(), m_s5cSocket, ns3::GtpcHeader::ModifyBearerResponse, NS_ASSERT, NS_FATAL_ERROR, NS_LOG_FUNCTION, ns3::Packet::PeekHeader(), and ns3::Socket::Recv().

Referenced by EpcSgwApplication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RecvFromS5uSocket()

void ns3::EpcSgwApplication::RecvFromS5uSocket ( Ptr< Socket socket)
private

Method to be assigned to the recv callback of the S5-U socket.

It is called when the SGW receives a data packet from the PGW that is to be forwarded to an eNB.

Parameters
socketpointer to the S5-U socket

Definition at line 138 of file epc-sgw-application.cc.

References ns3::GtpuHeader::GetTeid(), m_enbByTeidMap, m_s5uSocket, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Socket::Recv(), ns3::Packet::RemoveHeader(), and SendToS1uSocket().

Referenced by EpcSgwApplication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendToS1uSocket()

void ns3::EpcSgwApplication::SendToS1uSocket ( Ptr< Packet packet,
Ipv4Address  enbS1uAddress,
uint32_t  teid 
)
private

Send a data packet to an eNB via the S1-U interface.

Parameters
packetpacket to be sent
enbS1uAddressthe address of the eNB
teidthe Tunnel Endpoint Identifier

Definition at line 196 of file epc-sgw-application.cc.

References ns3::Packet::AddHeader(), ns3::GtpuHeader::GetSerializedSize(), ns3::Packet::GetSize(), m_gtpuUdpPort, m_s1uSocket, NS_LOG_FUNCTION, ns3::Socket::SendTo(), ns3::GtpuHeader::SetLength(), and ns3::GtpuHeader::SetTeid().

Referenced by RecvFromS5uSocket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendToS5uSocket()

void ns3::EpcSgwApplication::SendToS5uSocket ( Ptr< Packet packet,
Ipv4Address  pgwAddr,
uint32_t  teid 
)
private

Send a data packet to the PGW via the S5 interface.

Parameters
packetpacket to be sent
pgwAddrthe address of the PGW
teidthe Tunnel Endpoint Identifier

Definition at line 210 of file epc-sgw-application.cc.

References ns3::Packet::AddHeader(), ns3::GtpuHeader::GetSerializedSize(), ns3::Packet::GetSize(), m_gtpuUdpPort, m_s5uSocket, NS_LOG_FUNCTION, ns3::Socket::SendTo(), ns3::GtpuHeader::SetLength(), and ns3::GtpuHeader::SetTeid().

Referenced by RecvFromS1uSocket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_enbByTeidMap

std::map<uint32_t, Ipv4Address> ns3::EpcSgwApplication::m_enbByTeidMap
private

Map for eNB address by TEID.

Definition at line 265 of file epc-sgw-application.h.

Referenced by DoRecvCreateSessionRequest(), DoRecvModifyBearerRequest(), and RecvFromS5uSocket().

◆ m_enbInfoByCellId

std::map<uint16_t, EnbInfo> ns3::EpcSgwApplication::m_enbInfoByCellId
private

Map for eNB info by cell ID.

Definition at line 260 of file epc-sgw-application.h.

Referenced by AddEnb(), DoRecvCreateSessionRequest(), and DoRecvModifyBearerRequest().

◆ m_gtpcUdpPort

uint16_t ns3::EpcSgwApplication::m_gtpcUdpPort
private

◆ m_gtpuUdpPort

uint16_t ns3::EpcSgwApplication::m_gtpuUdpPort
private

UDP port to be used for GTP-U.

Definition at line 238 of file epc-sgw-application.h.

Referenced by SendToS1uSocket(), and SendToS5uSocket().

◆ m_mmeS11Addr

Ipv4Address ns3::EpcSgwApplication::m_mmeS11Addr
private

MME address in the S11 interface.

Definition at line 208 of file epc-sgw-application.h.

Referenced by AddMme(), DoRecvDeleteBearerRequest(), and DoRecvModifyBearerResponse().

◆ m_mmeS11FteidBySgwS5cTeid

std::map<uint32_t, GtpcHeader::Fteid_t> ns3::EpcSgwApplication::m_mmeS11FteidBySgwS5cTeid
private

MME S11 FTEID by SGW S5C TEID.

Definition at line 270 of file epc-sgw-application.h.

Referenced by DoRecvCreateSessionRequest(), and DoRecvCreateSessionResponse().

◆ m_pgwAddr

Ipv4Address ns3::EpcSgwApplication::m_pgwAddr
private

◆ m_s11Socket

Ptr<Socket> ns3::EpcSgwApplication::m_s11Socket
private

UDP socket to send/receive control messages to/from the S11 interface.

Definition at line 213 of file epc-sgw-application.h.

Referenced by AddMme(), DoRecvCreateSessionResponse(), DoRecvDeleteBearerRequest(), DoRecvModifyBearerResponse(), and RecvFromS11Socket().

◆ m_s1uSocket

Ptr<Socket> ns3::EpcSgwApplication::m_s1uSocket
private

UDP socket to send/receive GTP-U packets to/from the S1-U interface.

Definition at line 233 of file epc-sgw-application.h.

Referenced by EpcSgwApplication(), DoDispose(), RecvFromS1uSocket(), and SendToS1uSocket().

◆ m_s5Addr

Ipv4Address ns3::EpcSgwApplication::m_s5Addr
private

SGW address in the S5 interface.

Definition at line 203 of file epc-sgw-application.h.

Referenced by DoRecvCreateSessionRequest(), DoRecvCreateSessionResponse(), and DoRecvModifyBearerRequest().

◆ m_s5cSocket

Ptr<Socket> ns3::EpcSgwApplication::m_s5cSocket
private

UDP socket to send/receive GTP-C packets to/from the S5 interface.

Definition at line 228 of file epc-sgw-application.h.

Referenced by EpcSgwApplication(), DoDispose(), DoRecvCreateSessionRequest(), DoRecvDeleteBearerCommand(), DoRecvDeleteBearerResponse(), DoRecvModifyBearerRequest(), and RecvFromS5cSocket().

◆ m_s5uSocket

Ptr<Socket> ns3::EpcSgwApplication::m_s5uSocket
private

UDP socket to send/receive GTP-U packets to/from the S5 interface.

Definition at line 223 of file epc-sgw-application.h.

Referenced by EpcSgwApplication(), DoDispose(), RecvFromS5uSocket(), and SendToS5uSocket().

◆ m_teidCount

uint32_t ns3::EpcSgwApplication::m_teidCount
private

TEID count.

Definition at line 248 of file epc-sgw-application.h.

Referenced by DoRecvCreateSessionRequest().


The documentation for this class was generated from the following files: