A Discrete-Event Network Simulator
API
point-to-point-epc-helper.h
Go to the documentation of this file.
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation;
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * Author: Jaume Nin <jnin@cttc.es>
19  * Nicola Baldo <nbaldo@cttc.es>
20  * Manuel Requena <manuel.requena@cttc.es>
21  * (most of the code refactored to no-backhaul-epc-helper.h)
22  */
23 
24 #ifndef POINT_TO_POINT_EPC_HELPER_H
25 #define POINT_TO_POINT_EPC_HELPER_H
26 
27 #include "ns3/no-backhaul-epc-helper.h"
28 
29 namespace ns3 {
30 
39 {
40 public:
45 
49  virtual ~PointToPointEpcHelper ();
50 
51  // inherited from Object
56  static TypeId GetTypeId (void);
57  TypeId GetInstanceTypeId () const;
58  virtual void DoDispose ();
59 
60  // inherited from EpcHelper
61  virtual void AddEnb (Ptr<Node> enbNode, Ptr<NetDevice> lteEnbNetDevice, std::vector<uint16_t> cellIds);
62 
63 private:
64 
73 
78 
83 
90  uint16_t m_s1uLinkMtu;
91 
96 
101 
105  std::string m_s1uLinkPcapPrefix;
106 };
107 
108 } // namespace ns3
109 
110 #endif // POINT_TO_POINT_EPC_HELPER_H
Class for representing data rates.
Definition: data-rate.h:89
A helper class to make life easier while doing simple IPv4 address assignment in scripts.
Create an EPC network with PointToPoint links between the core network nodes.
Create an EPC network with PointToPoint links in the backhaul network.
Ipv4AddressHelper m_s1uIpv4AddressHelper
S1-U interfaces.
Ipv4AddressHelper m_s1apIpv4AddressHelper
Helper to assign addresses to S1-MME NetDevices.
bool m_s1uLinkEnablePcap
Enable PCAP generation for S1 link.
DataRate m_s1uLinkDataRate
The data rate to be used for the next S1-U link to be created.
TypeId GetInstanceTypeId() const
Get the most derived TypeId for this Object.
uint16_t m_s1uLinkMtu
The MTU of the next S1-U link to be created.
static TypeId GetTypeId(void)
Register this type.
virtual ~PointToPointEpcHelper()
Destructor.
virtual void AddEnb(Ptr< Node > enbNode, Ptr< NetDevice > lteEnbNetDevice, std::vector< uint16_t > cellIds)
Add an eNB to the EPC.
std::string m_s1uLinkPcapPrefix
Prefix for the PCAP file for the S1 link.
virtual void DoDispose()
Destructor implementation.
Time m_s1uLinkDelay
The delay to be used for the next S1-U link to be created.
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:103
a unique identifier for an interface.
Definition: type-id.h:59
Every class exported by the ns3 library is enclosed in the ns3 namespace.