A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::EpcEnbApplication Class Reference

This application is installed inside eNBs and provides the bridge functionality for user data plane packets between the radio interface and the S1-U interface. More...

#include "epc-enb-application.h"

+ Inheritance diagram for ns3::EpcEnbApplication:
+ Collaboration diagram for ns3::EpcEnbApplication:

Classes

struct  EpsFlowId_t
 EPS flow ID structure. More...
 

Public Types

typedef void(* RxTracedCallback) (Ptr< Packet > packet)
 TracedCallback signature for data Packet reception event.
 
- 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.
 

Public Member Functions

 EpcEnbApplication (Ptr< Socket > lteSocket, Ptr< Socket > lteSocket6, uint16_t cellId)
 Constructor.
 
 ~EpcEnbApplication () override
 Destructor.
 
void AddS1Interface (Ptr< Socket > s1uSocket, Ipv4Address enbS1uAddress, Ipv4Address sgwS1uAddress)
 Add a S1-U interface to the eNB.
 
EpcS1apSapEnbGetS1apSapEnb ()
 
EpcEnbS1SapProviderGetS1SapProvider ()
 
void RecvFromLteSocket (Ptr< Socket > socket)
 Method to be assigned to the recv callback of the LTE socket.
 
void RecvFromS1uSocket (Ptr< Socket > socket)
 Method to be assigned to the recv callback of the S1-U socket.
 
void SetS1apSapMme (EpcS1apSapMme *s)
 Set the MME side of the S1-AP SAP.
 
void SetS1SapUser (EpcEnbS1SapUser *s)
 Set the S1 SAP User.
 
- 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.
 

Protected Member Functions

void DoDispose () override
 Destructor implementation.
 
- 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.
 

Private Member Functions

void DoInitialContextSetupRequest (uint64_t mmeUeS1Id, uint16_t enbUeS1Id, std::list< EpcS1apSapEnb::ErabToBeSetupItem > erabToBeSetupList)
 Initial Context Setup Request.
 
void DoInitialUeMessage (uint64_t imsi, uint16_t rnti)
 Initial UE message function.
 
void DoPathSwitchRequest (EpcEnbS1SapProvider::PathSwitchRequestParameters params)
 Path switch request function.
 
void DoPathSwitchRequestAcknowledge (uint64_t enbUeS1Id, uint64_t mmeUeS1Id, uint16_t cgi, std::list< EpcS1apSapEnb::ErabSwitchedInUplinkItem > erabToBeSwitchedInUplinkList)
 Path Switch Request Acknowledge.
 
void DoReleaseIndication (uint64_t imsi, uint16_t rnti, uint8_t bearerId)
 This function accepts bearer id corresponding to a particular UE and schedules indication of bearer release towards MME.
 
void DoUeContextRelease (uint16_t rnti)
 UE Context Release function.
 
void SendToLteSocket (Ptr< Packet > packet, uint16_t rnti, uint8_t bid)
 Send a packet to the UE via the LTE radio interface of the eNB.
 
void SendToS1uSocket (Ptr< Packet > packet, uint32_t teid)
 Send a packet to the SGW via the S1-U interface.
 
void SetupS1Bearer (uint32_t teid, uint16_t rnti, uint8_t bid)
 internal method used for the actual setup of the S1 Bearer
 

Private Attributes

uint16_t m_cellId
 cell ID
 
Ipv4Address m_enbS1uAddress
 address of the eNB for S1-U communications
 
uint16_t m_gtpuUdpPort
 UDP port to be used for GTP.
 
std::map< uint64_t, uint16_t > m_imsiRntiMap
 UE context info.
 
Ptr< Socketm_lteSocket
 raw packet socket to send and receive the packets to and from the LTE radio interface
 
Ptr< Socketm_lteSocket6
 raw packet socket to send and receive the packets to and from the LTE radio interface
 
std::map< uint16_t, std::map< uint8_t, uint32_t > > m_rbidTeidMap
 map of maps telling for each RNTI and BID the corresponding S1-U TEID
 
TracedCallback< Ptr< Packet > > m_rxLteSocketPktTrace
 Callback to trace RX (reception) data packets from LTE Socket.
 
TracedCallback< Ptr< Packet > > m_rxS1uSocketPktTrace
 Callback to trace RX (reception) data packets from S1-U Socket.
 
EpcS1apSapEnbm_s1apSapEnb
 ENB side of the S1-AP SAP.
 
EpcS1apSapMmem_s1apSapMme
 MME side of the S1-AP SAP.
 
EpcEnbS1SapProviderm_s1SapProvider
 Provider for the S1 SAP.
 
EpcEnbS1SapUserm_s1SapUser
 User for the S1 SAP.
 
Ptr< Socketm_s1uSocket
 UDP socket to send and receive GTP-U the packets to and from the S1-U interface.
 
Ipv4Address m_sgwS1uAddress
 address of the SGW which terminates all S1-U tunnels
 
std::map< uint32_t, EpsFlowId_tm_teidRbidMap
 map telling for each S1-U TEID the corresponding RNTI,BID
 

Friends

class MemberEpcEnbS1SapProvider< EpcEnbApplication >
 allow MemberEpcEnbS1SapProvider<EpcEnbApplication> class friend access
 
class MemberEpcS1apSapEnb< EpcEnbApplication >
 allow MemberEpcS1apSapEnb<EpcEnbApplication> class friend access
 

Additional Inherited Members

- 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 is installed inside eNBs and provides the bridge functionality for user data plane packets between the radio interface and the S1-U interface.

Definition at line 39 of file epc-enb-application.h.

Member Typedef Documentation

◆ RxTracedCallback

typedef void(* ns3::EpcEnbApplication::RxTracedCallback) (Ptr< Packet > packet)

TracedCallback signature for data Packet reception event.

Parameters
[in]packetThe data packet sent from the internet.

Definition at line 134 of file epc-enb-application.h.

Constructor & Destructor Documentation

◆ EpcEnbApplication()

ns3::EpcEnbApplication::EpcEnbApplication ( Ptr< Socket > lteSocket,
Ptr< Socket > lteSocket6,
uint16_t cellId )

Constructor.

Parameters
lteSocketthe socket to be used to send/receive IPv4 packets to/from the LTE radio interface
lteSocket6the socket to be used to send/receive IPv6 packets to/from the LTE radio interface
cellIdthe identifier of the eNB

Definition at line 77 of file epc-enb-application.cc.

References m_lteSocket, m_lteSocket6, m_s1apSapEnb, m_s1SapProvider, ns3::MakeCallback(), MemberEpcEnbS1SapProvider< EpcEnbApplication >, MemberEpcS1apSapEnb< EpcEnbApplication >, NS_LOG_FUNCTION, RecvFromLteSocket(), and ns3::Socket::SetRecvCallback().

+ Here is the call graph for this function:

◆ ~EpcEnbApplication()

ns3::EpcEnbApplication::~EpcEnbApplication ( )
override

Destructor.

Definition at line 106 of file epc-enb-application.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

◆ AddS1Interface()

void ns3::EpcEnbApplication::AddS1Interface ( Ptr< Socket > s1uSocket,
Ipv4Address enbS1uAddress,
Ipv4Address sgwS1uAddress )

Add a S1-U interface to the eNB.

Parameters
s1uSocketthe socket to be used to send/receive packets to/from the S1-U interface connected with the SGW
enbS1uAddressthe IPv4 address of the S1-U interface of this eNB
sgwS1uAddressthe IPv4 address at which this eNB will be able to reach its SGW for S1-U communications

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

References m_enbS1uAddress, m_s1uSocket, m_sgwS1uAddress, ns3::MakeCallback(), NS_LOG_FUNCTION, RecvFromS1uSocket(), and ns3::Socket::SetRecvCallback().

+ Here is the call graph for this function:

◆ DoDispose()

void ns3::EpcEnbApplication::DoDispose ( )
overrideprotectedvirtual

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 67 of file epc-enb-application.cc.

References m_lteSocket, m_lteSocket6, m_s1apSapEnb, m_s1SapProvider, m_s1uSocket, and NS_LOG_FUNCTION.

◆ DoInitialContextSetupRequest()

void ns3::EpcEnbApplication::DoInitialContextSetupRequest ( uint64_t mmeUeS1Id,
uint16_t enbUeS1Id,
std::list< EpcS1apSapEnb::ErabToBeSetupItem > erabToBeSetupList )
private

Initial Context Setup Request.

Parameters
mmeUeS1Idthe MME UE S1 ID
enbUeS1Idthe ENB UE S1 ID
erabToBeSetupListthe ERAB setup list

Definition at line 198 of file epc-enb-application.cc.

References ns3::EpcEnbS1SapUser::DataRadioBearerSetupRequest(), ns3::EpcEnbS1SapUser::InitialContextSetupRequest(), m_imsiRntiMap, m_rbidTeidMap, m_s1SapUser, m_teidRbidMap, NS_ASSERT_MSG, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

◆ DoInitialUeMessage()

void ns3::EpcEnbApplication::DoInitialUeMessage ( uint64_t imsi,
uint16_t rnti )
private

Initial UE message function.

Parameters
imsithe IMSI
rntithe RNTI

Definition at line 136 of file epc-enb-application.cc.

References ns3::EpcS1apSapMme::InitialUeMessage(), m_cellId, m_imsiRntiMap, m_s1apSapMme, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

◆ DoPathSwitchRequest()

void ns3::EpcEnbApplication::DoPathSwitchRequest ( EpcEnbS1SapProvider::PathSwitchRequestParameters params)
private

Path switch request function.

Parameters
paramsPathSwitchRequestParameters

Definition at line 145 of file epc-enb-application.cc.

References ns3::EpcS1apSapMme::ErabSwitchedInDownlinkItem::enbTeid, ns3::EpcS1apSapMme::ErabSwitchedInDownlinkItem::enbTransportLayerAddress, ns3::EpcS1apSapMme::ErabSwitchedInDownlinkItem::erabId, ns3::EpcEnbApplication::EpsFlowId_t::m_bid, m_enbS1uAddress, m_imsiRntiMap, m_rbidTeidMap, ns3::EpcEnbApplication::EpsFlowId_t::m_rnti, m_s1apSapMme, m_teidRbidMap, NS_LOG_FUNCTION, and ns3::EpcS1apSapMme::PathSwitchRequest().

+ Here is the call graph for this function:

◆ DoPathSwitchRequestAcknowledge()

void ns3::EpcEnbApplication::DoPathSwitchRequestAcknowledge ( uint64_t enbUeS1Id,
uint64_t mmeUeS1Id,
uint16_t cgi,
std::list< EpcS1apSapEnb::ErabSwitchedInUplinkItem > erabToBeSwitchedInUplinkList )
private

Path Switch Request Acknowledge.

Parameters
mmeUeS1Idthe MME UE S1 ID
enbUeS1Idthe ENB UE S1 ID
cgithe CGI
erabToBeSwitchedInUplinkListthe ERAB switched in uplink list

Definition at line 233 of file epc-enb-application.cc.

References m_imsiRntiMap, m_s1SapUser, NS_ASSERT_MSG, NS_LOG_FUNCTION, and ns3::EpcEnbS1SapUser::PathSwitchRequestAcknowledge().

+ Here is the call graph for this function:

◆ DoReleaseIndication()

void ns3::EpcEnbApplication::DoReleaseIndication ( uint64_t imsi,
uint16_t rnti,
uint8_t bearerId )
private

This function accepts bearer id corresponding to a particular UE and schedules indication of bearer release towards MME.

Parameters
imsimaps to mmeUeS1Id
rntimaps to enbUeS1Id
bearerIdBearer Identity which is to be de-activated

Definition at line 354 of file epc-enb-application.cc.

References ns3::EpcS1apSapMme::ErabToBeReleasedIndication::erabId, ns3::EpcS1apSapMme::ErabReleaseIndication(), m_s1apSapMme, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

◆ DoUeContextRelease()

void ns3::EpcEnbApplication::DoUeContextRelease ( uint16_t rnti)
private

UE Context Release function.

Parameters
rntithe RNTI

Definition at line 180 of file epc-enb-application.cc.

References m_rbidTeidMap, m_teidRbidMap, NS_LOG_FUNCTION, and NS_LOG_INFO.

◆ GetS1apSapEnb()

EpcS1apSapEnb * ns3::EpcEnbApplication::GetS1apSapEnb ( )
Returns
the ENB side of the S1-AP SAP

Definition at line 130 of file epc-enb-application.cc.

References m_s1apSapEnb.

◆ GetS1SapProvider()

EpcEnbS1SapProvider * ns3::EpcEnbApplication::GetS1SapProvider ( )
Returns
the S1 SAP Provider

Definition at line 118 of file epc-enb-application.cc.

References m_s1SapProvider.

◆ GetTypeId()

TypeId ns3::EpcEnbApplication::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 49 of file epc-enb-application.cc.

References m_rxLteSocketPktTrace, m_rxS1uSocketPktTrace, ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().

+ Here is the call graph for this function:

◆ RecvFromLteSocket()

void ns3::EpcEnbApplication::RecvFromLteSocket ( Ptr< Socket > socket)

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

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

Parameters
socketpointer to the LTE socket

Definition at line 251 of file epc-enb-application.cc.

References ns3::EpsBearerTag::GetBid(), ns3::EpsBearerTag::GetRnti(), m_lteSocket, m_lteSocket6, m_rbidTeidMap, m_rxLteSocketPktTrace, NS_ASSERT, NS_LOG_FUNCTION, NS_LOG_INFO, NS_LOG_WARN, and SendToS1uSocket().

Referenced by EpcEnbApplication().

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

◆ RecvFromS1uSocket()

void ns3::EpcEnbApplication::RecvFromS1uSocket ( Ptr< Socket > socket)

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

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

Parameters
socketpointer to the S1-U socket

Definition at line 286 of file epc-enb-application.cc.

References ns3::GtpuHeader::GetTeid(), m_cellId, m_rxS1uSocketPktTrace, m_s1uSocket, m_teidRbidMap, NS_ASSERT, NS_LOG_FUNCTION, NS_LOG_INFO, NS_LOG_WARN, and SendToLteSocket().

Referenced by AddS1Interface().

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

◆ SendToLteSocket()

void ns3::EpcEnbApplication::SendToLteSocket ( Ptr< Packet > packet,
uint16_t rnti,
uint8_t bid )
private

Send a packet to the UE via the LTE radio interface of the eNB.

Parameters
packett
rntimaps to enbUeS1Id
bidthe EPS Bearer Identifier

Definition at line 308 of file epc-enb-application.cc.

References m_lteSocket, m_lteSocket6, NS_ABORT_MSG, NS_ASSERT, NS_LOG_FUNCTION, NS_LOG_INFO, and ns3::Socket::Send().

Referenced by RecvFromS1uSocket().

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

◆ SendToS1uSocket()

void ns3::EpcEnbApplication::SendToS1uSocket ( Ptr< Packet > packet,
uint32_t teid )
private

Send a packet to the SGW via the S1-U interface.

Parameters
packetpacket to be sent
teidthe Tunnel Endpoint Identifier

Definition at line 339 of file epc-enb-application.cc.

References ns3::GtpuHeader::GetSerializedSize(), m_gtpuUdpPort, m_s1uSocket, m_sgwS1uAddress, NS_LOG_FUNCTION, NS_LOG_INFO, ns3::Socket::SendTo(), ns3::GtpuHeader::SetLength(), and ns3::GtpuHeader::SetTeid().

Referenced by RecvFromLteSocket().

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

◆ SetS1apSapMme()

void ns3::EpcEnbApplication::SetS1apSapMme ( EpcS1apSapMme * s)

Set the MME side of the S1-AP SAP.

Parameters
sthe MME side of the S1-AP SAP

Definition at line 124 of file epc-enb-application.cc.

References m_s1apSapMme.

◆ SetS1SapUser()

void ns3::EpcEnbApplication::SetS1SapUser ( EpcEnbS1SapUser * s)

Set the S1 SAP User.

Parameters
sthe S1 SAP User

Definition at line 112 of file epc-enb-application.cc.

References m_s1SapUser.

◆ SetupS1Bearer()

void ns3::EpcEnbApplication::SetupS1Bearer ( uint32_t teid,
uint16_t rnti,
uint8_t bid )
private

internal method used for the actual setup of the S1 Bearer

Parameters
teidthe Tunnel Endpoint Identifier
rntimaps to enbUeS1Id
bidthe S1-U Bearer Identifier

Friends And Related Symbol Documentation

◆ MemberEpcEnbS1SapProvider< EpcEnbApplication >

allow MemberEpcEnbS1SapProvider<EpcEnbApplication> class friend access

Definition at line 1 of file epc-enb-application.h.

Referenced by EpcEnbApplication().

◆ MemberEpcS1apSapEnb< EpcEnbApplication >

friend class MemberEpcS1apSapEnb< EpcEnbApplication >
friend

allow MemberEpcS1apSapEnb<EpcEnbApplication> class friend access

Definition at line 1 of file epc-enb-application.h.

Referenced by EpcEnbApplication().

Member Data Documentation

◆ m_cellId

uint16_t ns3::EpcEnbApplication::m_cellId
private

cell ID

Definition at line 320 of file epc-enb-application.h.

Referenced by DoInitialUeMessage(), and RecvFromS1uSocket().

◆ m_enbS1uAddress

Ipv4Address ns3::EpcEnbApplication::m_enbS1uAddress
private

address of the eNB for S1-U communications

Definition at line 268 of file epc-enb-application.h.

Referenced by AddS1Interface(), and DoPathSwitchRequest().

◆ m_gtpuUdpPort

uint16_t ns3::EpcEnbApplication::m_gtpuUdpPort
private

UDP port to be used for GTP.

Definition at line 290 of file epc-enb-application.h.

Referenced by SendToS1uSocket().

◆ m_imsiRntiMap

std::map<uint64_t, uint16_t> ns3::EpcEnbApplication::m_imsiRntiMap
private

◆ m_lteSocket

Ptr<Socket> ns3::EpcEnbApplication::m_lteSocket
private

raw packet socket to send and receive the packets to and from the LTE radio interface

Definition at line 253 of file epc-enb-application.h.

Referenced by EpcEnbApplication(), DoDispose(), RecvFromLteSocket(), and SendToLteSocket().

◆ m_lteSocket6

Ptr<Socket> ns3::EpcEnbApplication::m_lteSocket6
private

raw packet socket to send and receive the packets to and from the LTE radio interface

Definition at line 258 of file epc-enb-application.h.

Referenced by EpcEnbApplication(), DoDispose(), RecvFromLteSocket(), and SendToLteSocket().

◆ m_rbidTeidMap

std::map<uint16_t, std::map<uint8_t, uint32_t> > ns3::EpcEnbApplication::m_rbidTeidMap
private

map of maps telling for each RNTI and BID the corresponding S1-U TEID

Definition at line 279 of file epc-enb-application.h.

Referenced by DoInitialContextSetupRequest(), DoPathSwitchRequest(), DoUeContextRelease(), and RecvFromLteSocket().

◆ m_rxLteSocketPktTrace

TracedCallback<Ptr<Packet> > ns3::EpcEnbApplication::m_rxLteSocketPktTrace
private

Callback to trace RX (reception) data packets from LTE Socket.

Definition at line 325 of file epc-enb-application.h.

Referenced by GetTypeId(), and RecvFromLteSocket().

◆ m_rxS1uSocketPktTrace

TracedCallback<Ptr<Packet> > ns3::EpcEnbApplication::m_rxS1uSocketPktTrace
private

Callback to trace RX (reception) data packets from S1-U Socket.

Definition at line 330 of file epc-enb-application.h.

Referenced by GetTypeId(), and RecvFromS1uSocket().

◆ m_s1apSapEnb

EpcS1apSapEnb* ns3::EpcEnbApplication::m_s1apSapEnb
private

ENB side of the S1-AP SAP.

Definition at line 312 of file epc-enb-application.h.

Referenced by EpcEnbApplication(), DoDispose(), and GetS1apSapEnb().

◆ m_s1apSapMme

EpcS1apSapMme* ns3::EpcEnbApplication::m_s1apSapMme
private

MME side of the S1-AP SAP.

Definition at line 306 of file epc-enb-application.h.

Referenced by DoInitialUeMessage(), DoPathSwitchRequest(), DoReleaseIndication(), and SetS1apSapMme().

◆ m_s1SapProvider

EpcEnbS1SapProvider* ns3::EpcEnbApplication::m_s1SapProvider
private

Provider for the S1 SAP.

Definition at line 295 of file epc-enb-application.h.

Referenced by EpcEnbApplication(), DoDispose(), and GetS1SapProvider().

◆ m_s1SapUser

EpcEnbS1SapUser* ns3::EpcEnbApplication::m_s1SapUser
private

User for the S1 SAP.

Definition at line 300 of file epc-enb-application.h.

Referenced by DoInitialContextSetupRequest(), DoPathSwitchRequestAcknowledge(), and SetS1SapUser().

◆ m_s1uSocket

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

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

Definition at line 263 of file epc-enb-application.h.

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

◆ m_sgwS1uAddress

Ipv4Address ns3::EpcEnbApplication::m_sgwS1uAddress
private

address of the SGW which terminates all S1-U tunnels

Definition at line 273 of file epc-enb-application.h.

Referenced by AddS1Interface(), and SendToS1uSocket().

◆ m_teidRbidMap

std::map<uint32_t, EpsFlowId_t> ns3::EpcEnbApplication::m_teidRbidMap
private

map telling for each S1-U TEID the corresponding RNTI,BID

Definition at line 285 of file epc-enb-application.h.

Referenced by DoInitialContextSetupRequest(), DoPathSwitchRequest(), DoUeContextRelease(), and RecvFromS1uSocket().


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