8#include "nr-eps-bearer-tag.h"
11#include "ns3/uinteger.h"
16NS_OBJECT_ENSURE_REGISTERED(NrEpsBearerTag);
22 TypeId(
"ns3::NrEpsBearerTag")
27 "The rnti that indicates the UE which packet belongs",
30 MakeUintegerChecker<uint16_t>())
32 "The EPS bearer id within the UE to which the packet belongs",
35 MakeUintegerChecker<uint8_t>());
40NrEpsBearerTag::GetInstanceTypeId()
const
70NrEpsBearerTag::GetSerializedSize()
const
76NrEpsBearerTag::Serialize(TagBuffer i)
const
83NrEpsBearerTag::Deserialize(TagBuffer i)
85 m_rnti = (uint16_t)i.ReadU16();
86 m_bid = (uint8_t)i.ReadU8();
102NrEpsBearerTag::Print(std::ostream& os)
const
104 os <<
"rnti=" << m_rnti <<
", bid=" << (uint16_t)m_bid;
void SetRnti(uint16_t rnti)
static TypeId GetTypeId()
Get the type ID.