A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
 ~EpcSgwApplication () override
 Destructor.
 
void AddEnb (uint16_t cellId, Ipv4Address enbAddr, Ipv4Address sgwAddr)
 Let the SGW be aware of a new eNB.
 
void AddMme (Ipv4Address mmeS11Addr, Ptr< Socket > s11Socket)
 Let the SGW be aware of an MME.
 
void AddPgw (Ipv4Address pgwAddr)
 Let the SGW be aware of a PGW.
 
void DoDispose () override
 Destructor implementation.
 
- Public Member Functions inherited from ns3::Application
 Application ()
 
 ~Application () override
 
virtual int64_t AssignStreams (int64_t stream)
 Assign a fixed random variable stream number to the random variables used by this Application object.
 
Ptr< NodeGetNode () const
 
void SetNode (Ptr< Node > node)
 
void SetStartTime (Time start)
 Specify application start time.
 
void SetStopTime (Time stop)
 Specify application stop time.
 
- Public Member Functions inherited from ns3::Object
 Object ()
 Constructor.
 
 ~Object () override
 Destructor.
 
void AggregateObject (Ptr< Object > other)
 Aggregate two Objects together.
 
void Dispose ()
 Dispose of this Object.
 
AggregateIterator GetAggregateIterator () const
 Get an iterator to the Objects aggregated to this one.
 
TypeId GetInstanceTypeId () const override
 Get the most derived TypeId for this Object.
 
template<typename T >
Ptr< T > GetObject () const
 Get a pointer to the requested aggregated Object.
 
template<>
Ptr< ObjectGetObject () const
 Specialization of () for objects of type ns3::Object.
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId.
 
template<>
Ptr< ObjectGetObject (TypeId tid) const
 Specialization of (TypeId tid) for objects of type ns3::Object.
 
void Initialize ()
 Invoke DoInitialize on all Objects aggregated to this one.
 
bool IsInitialized () const
 Check if the object has been initialized.
 
void UnidirectionalAggregateObject (Ptr< Object > other)
 Aggregate an Object to another Object.
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Default constructor.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor.
 
void GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const
 Get the value of an attribute, raising fatal errors if unsuccessful.
 
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising errors.
 
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful.
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors.
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context.
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context.
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context.
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context.
 

Static Public Member Functions

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

Private Member Functions

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

Private Attributes

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

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

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 40 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 24 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 42 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 83 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 67 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 76 of file epc-sgw-application.cc.

References m_pgwAddr, and NS_LOG_FUNCTION.

◆ DoDispose()

void ns3::EpcSgwApplication::DoDispose ( )
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::Application.

Definition at line 48 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 217 of file epc-sgw-application.cc.

References ns3::GtpcHeader::Fteid_t::addr, ns3::GtpcCreateSessionRequestMessage::BearerContextToBeCreated::bearerLevelQos, ns3::GtpcHeader::ComputeMessageLength(), ns3::Create(), 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::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()

void ns3::EpcSgwApplication::DoRecvCreateSessionResponse ( Ptr< Packet > packet)
private

◆ DoRecvDeleteBearerCommand()

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

Process GTP-C Delete Bearer Command message.

Parameters
packetthe packet containing the message

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

References ns3::GtpcHeader::ComputeMessageLength(), ns3::Create(), ns3::GtpcDeleteBearerCommandMessage::GetBearerContexts(), ns3::GtpcHeader::GetTeid(), ns3::GtpcDeleteBearerCommandMessage::BearerContext::m_epsBearerId, m_gtpcUdpPort, m_pgwAddr, m_s5cSocket, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Socket::SendTo(), ns3::GtpcDeleteBearerCommandMessage::SetBearerContexts(), and ns3::GtpcHeader::SetTeid().

Referenced by RecvFromS11Socket().

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

◆ 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 447 of file epc-sgw-application.cc.

References ns3::GtpcHeader::ComputeMessageLength(), ns3::Create(), ns3::GtpcDeleteBearerRequestMessage::GetEpsBearerIds(), ns3::GtpcHeader::GetTeid(), m_gtpcUdpPort, m_mmeS11Addr, m_s11Socket, NS_LOG_DEBUG, NS_LOG_FUNCTION, 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 363 of file epc-sgw-application.cc.

References ns3::GtpcHeader::ComputeMessageLength(), ns3::Create(), ns3::GtpcDeleteBearerResponseMessage::GetEpsBearerIds(), ns3::GtpcHeader::GetTeid(), m_gtpcUdpPort, m_pgwAddr, m_s5cSocket, NS_LOG_DEBUG, NS_LOG_FUNCTION, 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()

void ns3::EpcSgwApplication::DoRecvModifyBearerRequest ( Ptr< Packet > packet)
private

◆ 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 428 of file epc-sgw-application.cc.

References ns3::GtpcHeader::ComputeMessageLength(), ns3::Create(), ns3::GtpcHeader::GetTeid(), m_gtpcUdpPort, m_mmeS11Addr, m_s11Socket, NS_LOG_DEBUG, NS_LOG_FUNCTION, 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 ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 60 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 93 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, and NS_LOG_FUNCTION.

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 172 of file epc-sgw-application.cc.

References ns3::GtpuHeader::GetTeid(), m_pgwAddr, m_s1uSocket, NS_ASSERT, NS_LOG_FUNCTION, 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 142 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, and NS_LOG_FUNCTION.

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 127 of file epc-sgw-application.cc.

References ns3::GtpuHeader::GetTeid(), m_enbByTeidMap, m_s5uSocket, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, 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 185 of file epc-sgw-application.cc.

References ns3::GtpuHeader::GetSerializedSize(), 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 199 of file epc-sgw-application.cc.

References ns3::GtpuHeader::GetSerializedSize(), 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 254 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 249 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 227 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 197 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 259 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 202 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 222 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 192 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 217 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 212 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 237 of file epc-sgw-application.h.

Referenced by DoRecvCreateSessionRequest().


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