|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
25 #include <ns3/object.h>
26 #include <ns3/lte-as-sap.h>
27 #include <ns3/epc-tft-classifier.h>
129 void Connect (uint16_t cellId, uint32_t dlEarfcn);
264 #endif // EPC_UE_NAS_H
void SetForwardUpCallback(Callback< void, Ptr< Packet > > cb)
set the callback used to forward data packets up the stack
a unique identifier for an interface.
void SetCsgId(uint32_t csgId)
uint8_t m_bidCounter
bid counter
Every class exported by the ns3 library is enclosed in the ns3 namespace.
LteAsSapProvider * m_asSapProvider
LTE SAP provider.
void Connect()
Causes NAS to tell AS to go to ACTIVE state.
void DoNotifyConnectionSuccessful()
Notify successful connection.
State
Definition of NAS states as per "LTE - From theory to practice", Section 3.2.3.2 "Connection Establis...
void(* StateTracedCallback)(const State oldState, const State newState)
TracedCallback signature for state change events.
virtual ~EpcUeNas()
Destructor.
std::list< BearerToBeActivated > m_bearersToBeActivatedListForReconnection
bearers to be activated list maintained and to be used for reconnecting an out-of-sync UE
Template for the implementation of the LteAsSapUser as a member of an owner class of type C to which ...
void SetDevice(Ptr< NetDevice > dev)
State m_state
The current UE NAS state.
uint32_t GetCsgId() const
virtual void DoDispose(void)
Destructor implementation.
A base class which provides memory management and object aggregation.
This class implements the Access Stratum (AS) Service Access Point (SAP), i.e., the interface between...
void StartCellSelection(uint32_t dlEarfcn)
Causes NAS to tell AS to find a suitable cell and camp to it.
classifies IP packets according to Traffic Flow Templates (TFTs)
uint32_t m_csgId
Closed Subscriber Group identity.
void DoNotifyConnectionFailed()
Notify connection failed.
bool Send(Ptr< Packet > p, uint16_t protocolNumber)
Enqueue an IP packet on the proper bearer for uplink transmission.
EpsBearer bearer
EPS bearer.
void ActivateEpsBearer(EpsBearer bearer, Ptr< EpcTft > tft)
Activate an EPS bearer.
void SwitchToState(State s)
Switch the UE RRC to the given state.
This class implements the Access Stratum (AS) Service Access Point (SAP), i.e., the interface between...
Callback< void, Ptr< Packet > > m_forwardUpCallback
upward callback
std::list< BearerToBeActivated > m_bearersToBeActivatedList
bearers to be activated list
This class contains the specification of EPS Bearers.
EpcTftClassifier m_tftClassifier
tft classifier
void SetAsSapProvider(LteAsSapProvider *s)
Set the AS SAP provider to interact with the NAS entity.
LteAsSapUser * GetAsSapUser()
Base helper class to handle the creation of the EPC entities.
uint64_t m_imsi
The unique UE identifier.
Ptr< NetDevice > m_device
The UE NetDevice.
void DoActivateEpsBearer(EpsBearer bearer, Ptr< EpcTft > tft)
Activate EPS Bearer.
BearerToBeActivated structure.
void DoNotifyConnectionReleased()
Notify connection released.
void DoRecvData(Ptr< Packet > packet)
Receive data.
LteAsSapUser * m_asSapUser
LTE SAP user.
TracedCallback< State, State > m_stateTransitionCallback
The StateTransition trace source.
static TypeId GetTypeId(void)
Get the type ID.
void Disconnect()
instruct the NAS to disconnect
void SetImsi(uint64_t imsi)