A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lte-radio-bearer-info.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011 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: Nicola Baldo <nbaldo@cttc.es>
18 */
19
20#ifndef LTE_RADIO_BEARER_INFO_H
21#define LTE_RADIO_BEARER_INFO_H
22
23#include "eps-bearer.h"
24#include "lte-rrc-sap.h"
25
26#include <ns3/ipv4-address.h>
27#include <ns3/object.h>
28#include <ns3/pointer.h>
29
30namespace ns3
31{
32
33class LteRlc;
34class LtePdcp;
35
36/**
37 * store information on active radio bearer instance
38 *
39 */
41{
42 public:
44 ~LteRadioBearerInfo() override;
45 /**
46 * \brief Get the type ID.
47 * \return the object TypeId
48 */
49 static TypeId GetTypeId();
50
53};
54
55/**
56 * store information on active signaling radio bearer instance
57 *
58 */
60{
61 public:
62 /**
63 * \brief Get the type ID.
64 * \return the object TypeId
65 */
66 static TypeId GetTypeId();
67
68 uint8_t m_srbIdentity; ///< SRB identity
70};
71
72/**
73 * store information on active data radio bearer instance
74 *
75 */
77{
78 public:
79 /**
80 * \brief Get the type ID.
81 * \return the object TypeId
82 */
83 static TypeId GetTypeId();
84
85 EpsBearer m_epsBearer; ///< EPS bearer
86 uint8_t m_epsBearerIdentity; ///< EPS bearer identity
87 uint8_t m_drbIdentity; ///< DRB identity
89 uint8_t m_logicalChannelIdentity; ///< logical channel identity
91 uint32_t m_gtpTeid; /**< S1-bearer GTP tunnel endpoint identifier, see 36.423 9.2.1 */
92 Ipv4Address m_transportLayerAddress; /**< IP Address of the SGW, see 36.423 9.2.1 */
93};
94
95} // namespace ns3
96
97#endif // LTE_RADIO_BEARER_INFO_H
This class contains the specification of EPS Bearers.
Definition: eps-bearer.h:91
Ipv4 addresses are stored in host order in this class.
Definition: ipv4-address.h:42
store information on active data radio bearer instance
uint8_t m_drbIdentity
DRB identity.
uint8_t m_logicalChannelIdentity
logical channel identity
LteRrcSap::LogicalChannelConfig m_logicalChannelConfig
logical channel config
uint32_t m_gtpTeid
S1-bearer GTP tunnel endpoint identifier, see 36.423 9.2.1.
LteRrcSap::RlcConfig m_rlcConfig
RLC config.
Ipv4Address m_transportLayerAddress
IP Address of the SGW, see 36.423 9.2.1.
uint8_t m_epsBearerIdentity
EPS bearer identity.
EpsBearer m_epsBearer
EPS bearer.
static TypeId GetTypeId()
Get the type ID.
store information on active radio bearer instance
Ptr< LtePdcp > m_pdcp
PDCP.
static TypeId GetTypeId()
Get the type ID.
store information on active signaling radio bearer instance
static TypeId GetTypeId()
Get the type ID.
LteRrcSap::LogicalChannelConfig m_logicalChannelConfig
logical channel config
A base class which provides memory management and object aggregation.
Definition: object.h:89
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:77
a unique identifier for an interface.
Definition: type-id.h:59
Every class exported by the ns3 library is enclosed in the ns3 namespace.
LogicalChannelConfig structure.
Definition: lte-rrc-sap.h:109
RlcConfig structure.
Definition: lte-rrc-sap.h:94