A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::EpcSgwPgwApplication::UeInfo Class Reference
+ Collaboration diagram for ns3::EpcSgwPgwApplication::UeInfo:

Public Member Functions

 UeInfo ()
void AddBearer (Ptr< EpcTft > tft, uint32_t teid)
uint32_t Classify (Ptr< Packet > p)
Ipv4Address GetEnbAddr ()
void SetEnbAddr (Ipv4Address addr)

Private Attributes

Ipv4Address m_enbAddr
EpcTftClassifier m_tftClassifier

Detailed Description

store info for each UE connected to this SGW

Definition at line 135 of file epc-sgw-pgw-application.h.

Constructor & Destructor Documentation

ns3::EpcSgwPgwApplication::UeInfo::UeInfo ( )

Definition at line 41 of file epc-sgw-pgw-application.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

void ns3::EpcSgwPgwApplication::UeInfo::AddBearer ( Ptr< EpcTft tft,
uint32_t  teid 
)
Parameters
tftthe Traffic Flow Template of the new bearer to be added
teidthe TEID of the new bearer

Definition at line 47 of file epc-sgw-pgw-application.cc.

References NS_LOG_FUNCTION.

uint32_t ns3::EpcSgwPgwApplication::UeInfo::Classify ( Ptr< Packet p)
Parameters
pthe IP packet from the internet to be classified
Returns
the corresponding bearer ID > 0 identifying the bearer among all the bearers of this UE; returns 0 if no bearers matches with the previously declared TFTs

Definition at line 54 of file epc-sgw-pgw-application.cc.

References ns3::EpcTft::DOWNLINK, and NS_LOG_FUNCTION.

Ipv4Address ns3::EpcSgwPgwApplication::UeInfo::GetEnbAddr ( )
Returns
the address of the eNB to which the UE is connected

Definition at line 64 of file epc-sgw-pgw-application.cc.

void ns3::EpcSgwPgwApplication::UeInfo::SetEnbAddr ( Ipv4Address  addr)

set the address of the eNB to which the UE is connected

Parameters
addrthe address of the eNB

Definition at line 70 of file epc-sgw-pgw-application.cc.

Member Data Documentation

Ipv4Address ns3::EpcSgwPgwApplication::UeInfo::m_enbAddr
private

Definition at line 173 of file epc-sgw-pgw-application.h.

EpcTftClassifier ns3::EpcSgwPgwApplication::UeInfo::m_tftClassifier
private

Definition at line 172 of file epc-sgw-pgw-application.h.


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