5G-LENA nr-v3.0-33-g7aea1e4
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr-point-to-point-epc-helper.h
1/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
3// Copyright (c) 2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4//
5// SPDX-License-Identifier: GPL-2.0-only
6
7#ifndef NR_POINT_TO_POINT_EPC_HELPER_H
8#define NR_POINT_TO_POINT_EPC_HELPER_H
9
10#include <ns3/point-to-point-epc-helper.h>
11
12namespace ns3
13{
14
107class NrPointToPointEpcHelper : public PointToPointEpcHelper
108{
109 public:
114
118 ~NrPointToPointEpcHelper() override;
119
120 // inherited from Object
125 static TypeId GetTypeId();
126
127 protected:
128 void DoAddX2Interface(const Ptr<EpcX2>& gnb1X2,
129 const Ptr<NetDevice>& gnb1NetDev,
130 const Ipv4Address& gnb1X2Address,
131 const Ptr<EpcX2>& gnb2X2,
132 const Ptr<NetDevice>& gnb2NetDev,
133 const Ipv4Address& gnb2X2Address) const override;
134 void DoActivateEpsBearerForUe(const Ptr<NetDevice>& ueDevice,
135 const Ptr<EpcTft>& tft,
136 const EpsBearer& bearer) const override;
137};
138
139} // namespace ns3
140
141#endif // NR_POINT_TO_POINT_EPC_HELPER_H
Create an EPC network with PointToPoint links.
static TypeId GetTypeId()
Register this type.