23 #ifndef POINT_TO_POINT_EPC_HELPER_H
24 #define POINT_TO_POINT_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;
176 #endif // POINT_TO_POINT_EPC_HELPER_H
Simulation virtual time values and global simulation resolution.
DataRate m_s1uLinkDataRate
The data rate to be used for the next S1-U link to be created.
Ptr< EpcMme > m_mme
MME network element.
holds a vector of std::pair of Ptr<Ipv4> and interface index.
static TypeId GetTypeId(void)
Register this type.
uint16_t m_s1uLinkMtu
The MTU of the next S1-U link to be created.
virtual Ptr< Node > GetPgwNode()
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.
Ptr< EpcSgwPgwApplication > m_sgwPgwApp
SGW-PGW application.
Class for representing data rates.
This class contains the specification of EPS Bearers.
Time m_s1uLinkDelay
The delay to be used for the next S1-U link to be created.
virtual uint8_t ActivateEpsBearer(Ptr< NetDevice > ueLteDevice, uint64_t imsi, Ptr< EpcTft > tft, EpsBearer bearer)
Activate an EPS bearer, setting up the corresponding S1-U tunnel.
holds a vector of ns3::NetDevice pointers
virtual void DoDispose()
Destructor implementation.
PointToPointEpcHelper()
Constructor.
virtual void AddEnb(Ptr< Node > enbNode, Ptr< NetDevice > lteEnbNetDevice, uint16_t cellId)
Add an eNB to the EPC.
Ipv4AddressHelper m_x2Ipv4AddressHelper
helper to assign addresses to X2 NetDevices
Base helper class to handle the creation of the EPC entities.
virtual Ipv4Address GetUeDefaultGatewayAddress()
Create an EPC network with PointToPoint links.
Time m_x2LinkDelay
The delay to be used for the next X2 link to be created.
Ipv4AddressHelper m_ueAddressHelper
helper to assign addresses to UE devices as well as to the TUN device of the SGW/PGW ...
uint16_t m_gtpuUdpPort
UDP port where the GTP-U Socket is bound, fixed by the standard as 2152.
virtual Ipv4InterfaceContainer AssignUeIpv4Address(NetDeviceContainer ueDevices)
Assign IPv4 addresses to UE devices.
Ipv4AddressHelper m_s1uIpv4AddressHelper
S1-U interfaces.
Ipv4 addresses are stored in host order in this class.
std::map< uint64_t, Ptr< NetDevice > > m_imsiEnbDeviceMap
Map storing for each IMSI the corresponding eNB NetDevice.
virtual ~PointToPointEpcHelper()
Destructor.
DataRate m_x2LinkDataRate
The data rate to be used for the next X2 link to be created.
virtual void AddX2Interface(Ptr< Node > enbNode1, Ptr< Node > enbNode2)
Add an X2 interface between two eNB.
uint16_t m_x2LinkMtu
The MTU of the next X2 link to be created.
A helper class to make life easier while doing simple IPv4 address assignment in scripts.
a unique identifier for an interface.
Ptr< VirtualNetDevice > m_tunDevice
TUN device implementing tunneling of user data over GTP-U/UDP/IP.
Ptr< Node > m_sgwPgw
SGW-PGW network element.