|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
25 #include <ns3/uinteger.h>
26 #include <ns3/object-base.h>
27 #include <unordered_map>
231 return std::hash<uint8_t> {} (s);
a unique identifier for an interface.
3GPP 23.203 Section 6.1.7.3 Allocation and Retention Priority characteristics
uint8_t GetRelease() const
GetRelease.
AllocationRetentionPriority arp
allocation retention priority
BearerRequirementsMap * m_requirements
Requirements pointer per bearer.
uint8_t m_release
Release (10 or 15)
uint16_t GetPacketDelayBudgetMs() const
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static TypeId GetTypeId(void)
Get the type ID.
virtual ~EpsBearer()
Deconstructor.
@ NGBR_VIDEO_TCP_PREMIUM
Non-GBR TCP-based Video (Buffered Streaming, e.g., www, e-mail...)
@ GBR_V2X
GBR V2X Messages.
@ DGBR_ELECTRICITY
Delay-Critical GBR Electricity Distribution High Voltage (TS 22.261)
@ NGBR_VIDEO_TCP_OPERATOR
Non-GBR TCP-based Video (Buffered Streaming, e.g., www, e-mail...)
@ NGBR_IMS
Non-GBR IMS Signalling.
@ DGBR_DISCRETE_AUT_SMALL
Delay-Critical GBR Discrete Automation Small Packets (TS 22.261)
static uint32_t IsGbr(const BearerRequirementsMap &map, Qci qci)
Is the selected QCI GBR?
static BearerRequirementsMap * GetRequirementsRel11()
Retrieve requirements for Rel.
@ GBR_NMC_PUSH_TO_TALK
GBR Non-Mission-Critical User Plane Push To Talk voice.
@ NGBR_V2X
Non-GBR V2X Messages.
bool preemptionVulnerability
true if bearer can be preempted by others
bool preemptionCapability
true if bearer can preempt others
@ GBR_GAMING
GBR Real Time Gaming.
@ DGBR_ITS
Delay-Critical GBR Intelligent Transport Systems (TS 22.261)
uint8_t GetPriority() const
@ DGBR_DISCRETE_AUT_LARGE
Delay-Critical GBR Discrete Automation Large Packets (TS 22.261)
virtual TypeId GetInstanceTypeId(void) const override
Get the most derived TypeId for this Object.
@ NGBR_LOW_LAT_EMBB
Non-GBR Low Latency eMBB applications.
GbrQosInformation gbrQosInfo
GBR QOS information.
void SetRelease(uint8_t release)
SetRelease.
static uint32_t GetMaxDataBurst(const BearerRequirementsMap &map, Qci qci)
Get maximum data burst for the selected QCI.
@ NGBR_VOICE_VIDEO_GAMING
Non-GBR Voice, Video, Interactive Streaming.
@ NGBR_MC_DATA
Non-GBR Mission Critical Data.
static BearerRequirementsMap * GetRequirementsRel15()
Retrieve requirements for Rel.
This class contains the specification of EPS Bearers.
std::size_t operator()(Qci const &s) const noexcept
Hash the QCI like a normal uint8_t.
static uint32_t GetAvgWindow(const BearerRequirementsMap &map, Qci qci)
Get default averaging window for the selected QCI.
@ GBR_MC_PUSH_TO_TALK
GBR Mission Critical User Plane Push To Talk voice.
@ GBR_CONV_VOICE
GBR Conversational Voice.
static double GetPacketErrorLossRate(const BearerRequirementsMap &map, Qci qci)
Get packet error rate for the selected QCI.
static uint8_t GetPriority(const BearerRequirementsMap &map, Qci qci)
Get priority for the selected QCI.
static uint16_t GetPacketDelayBudgetMs(const BearerRequirementsMap &map, Qci qci)
Get packet delay in ms for the selected QCI.
@ NGBR_MC_DELAY_SIGNAL
Non-GBR Mission Critical Delay Sensitive Signalling (e.g., MC-PTT)
enum ns3::EpsBearer::Qci qci
Qos class indicator.
std::unordered_map< Qci, std::tuple< bool, uint8_t, uint16_t, double, uint32_t, uint32_t >, QciHash > BearerRequirementsMap
Map between QCI and requirements.
@ NGBR_VIDEO_TCP_DEFAULT
Non-GBR TCP-based Video (Buffered Streaming, e.g., www, e-mail...)
@ GBR_CONV_VIDEO
GBR Conversational Video (Live streaming)
double GetPacketErrorLossRate() const
EpsBearer()
Default constructor.
@ GBR_MC_VIDEO
GBR Mission Critical Video User Plane.
AllocationRetentionPriority()
Default constructor, initializes member variables to zero or equivalent.
Anchor the ns-3 type and attribute system.
uint8_t priorityLevel
1-15; 1 = highest
@ GBR_NON_CONV_VIDEO
GBR Non-Conversational Video (Buffered Streaming)