![]() |
5G-LENA nr-v3.3-81-g75c7590d
The 5G/NR module for the ns-3 simulator
|
#include "nr-eps-bearer-tag.h"
Public Member Functions | |
NrEpsBearerTag () | |
NrEpsBearerTag (uint16_t rnti, uint8_t bid) | |
void | Deserialize (TagBuffer i) override |
uint8_t | GetBid () const |
TypeId | GetInstanceTypeId () const override |
uint16_t | GetRnti () const |
uint32_t | GetSerializedSize () const override |
void | Print (std::ostream &os) const override |
void | Serialize (TagBuffer i) const override |
void | SetBid (uint8_t bid) |
void | SetRnti (uint16_t rnti) |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type ID. | |
Tag used to define the RNTI and EPS bearer ID for packets interchanged between the NrEpcGnbApplication and the NrGnbNetDevice
Introspection did not find any typical Config paths.
No TraceSources are defined for this type.
Size of this type is 16 bytes (on a 64-bit architecture).
Definition at line 23 of file nr-eps-bearer-tag.h.
ns3::NrEpsBearerTag::NrEpsBearerTag | ( | ) |
Create an empty NrEpsBearerTag
Definition at line 45 of file nr-eps-bearer-tag.cc.
ns3::NrEpsBearerTag::NrEpsBearerTag | ( | uint16_t | rnti, |
uint8_t | bid | ||
) |
Create a NrEpsBearerTag with the given RNTI and bearer id
rnti | the value of the RNTI to set |
bid | the value of the Bearer Id to set |
Definition at line 51 of file nr-eps-bearer-tag.cc.
|
override |
Definition at line 83 of file nr-eps-bearer-tag.cc.
uint8_t ns3::NrEpsBearerTag::GetBid | ( | ) | const |
Get Bearer Id function
Definition at line 96 of file nr-eps-bearer-tag.cc.
Referenced by GetTypeId(), ns3::NrEpcGnbApplication::RecvFromNrSocket(), and ns3::NrGnbRrc::SendData().
|
override |
Definition at line 40 of file nr-eps-bearer-tag.cc.
uint16_t ns3::NrEpsBearerTag::GetRnti | ( | ) | const |
Get RNTI function
Definition at line 90 of file nr-eps-bearer-tag.cc.
Referenced by GetTypeId(), ns3::NrEpcGnbApplication::RecvFromNrSocket(), and ns3::NrGnbRrc::SendData().
|
override |
Definition at line 70 of file nr-eps-bearer-tag.cc.
|
static |
Get the type ID.
Definition at line 19 of file nr-eps-bearer-tag.cc.
References GetBid(), and GetRnti().
|
override |
Definition at line 102 of file nr-eps-bearer-tag.cc.
|
override |
Definition at line 76 of file nr-eps-bearer-tag.cc.
void ns3::NrEpsBearerTag::SetBid | ( | uint8_t | bid | ) |
Set the bearer id to the given value.
bid | the value of the Bearer Id to set |
Definition at line 64 of file nr-eps-bearer-tag.cc.
Referenced by ns3::NrUeManager::DoReceivePdcpSdu().
void ns3::NrEpsBearerTag::SetRnti | ( | uint16_t | rnti | ) |
Set the RNTI to the given value.
rnti | the value of the RNTI to set |
Definition at line 58 of file nr-eps-bearer-tag.cc.
Referenced by ns3::NrUeManager::DoReceivePdcpSdu().