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