23 #ifndef EMU_EPC_HELPER_H
24 #define EMU_EPC_HELPER_H
26 #include <ns3/object.h>
27 #include <ns3/ipv4-address-helper.h>
28 #include <ns3/data-rate.h>
29 #include <ns3/epc-tft.h>
30 #include <ns3/eps-bearer.h>
31 #include <ns3/epc-helper.h>
37 class VirtualNetDevice;
38 class EpcSgwPgwApplication;
126 #endif // EMU_EPC_HELPER_H
static TypeId GetTypeId(void)
holds a vector of std::pair of Ptr and interface index.
uint16_t m_gtpuUdpPort
UDP port where the GTP-U Socket is bound, fixed by the standard as 2152.
std::string m_sgwDeviceName
Ipv4InterfaceContainer m_sgwIpIfaces
EmuEpcHelper()
Constructor.
std::map< uint64_t, Ptr< NetDevice > > m_imsiEnbDeviceMap
Map storing for each IMSI the corresponding eNB NetDevice.
virtual void AddUe(Ptr< NetDevice > ueLteDevice, uint64_t imsi)
Notify the EPC of the existance of a new UE which might attach at a later time.
virtual void DoInitialize()
This method is called only once by Object::Initialize.
This class contains the specification of EPS Bearers.
holds a vector of ns3::NetDevice pointers
virtual void AddX2Interface(Ptr< Node > enbNode1, Ptr< Node > enbNode2)
Add an X2 interface between two eNB.
virtual void AddEnb(Ptr< Node > enbNode, Ptr< NetDevice > lteEnbNetDevice, uint16_t cellId)
Add an eNB to the EPC.
Create an EPC network using EmuFdNetDevice.
std::string m_enbMacAddressBase
std::string m_sgwMacAddress
Base helper class to handle the creation of the EPC entities.
virtual Ipv4Address GetUeDefaultGatewayAddress()
virtual Ipv4InterfaceContainer AssignUeIpv4Address(NetDeviceContainer ueDevices)
Assign IPv4 addresses to UE devices.
virtual void ActivateEpsBearer(Ptr< NetDevice > ueLteDevice, uint64_t imsi, Ptr< EpcTft > tft, EpsBearer bearer)
Activate an EPS bearer, setting up the corresponding S1-U tunnel.
virtual ~EmuEpcHelper()
Destructor.
Ptr< EpcSgwPgwApplication > m_sgwPgwApp
Ipv4 addresses are stored in host order in this class.
virtual Ptr< Node > GetPgwNode()
std::string m_enbDeviceName
A helper class to make life easier while doing simple IPv4 address assignment in scripts.
Ipv4AddressHelper m_ueAddressHelper
helper to assign addresses to UE devices as well as to the TUN device of the SGW/PGW ...
Ipv4AddressHelper m_epcIpv4AddressHelper
helper to assign addresses to S1-U NetDevices
virtual void DoDispose()
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
Ptr< VirtualNetDevice > m_tunDevice
a unique identifier for an interface.
Ptr< Node > m_sgwPgw
SGW-PGW network element.