24 #include "ns3/uinteger.h"
31 : m_senderTimestamp (
Seconds (0))
38 : m_senderTimestamp (senderTimestamp)
70 i.
Write ((
const uint8_t *)&senderTimestamp,
sizeof(int64_t));
76 int64_t senderTimestamp;
77 i.
Read ((uint8_t *)&senderTimestamp, 8);
Tag to calculate the per-PDU delay from eNb PDCP to UE PDCP.
void SetSenderTimestamp(Time senderTimestamp)
Set the sender timestamp.
static TypeId GetTypeId(void)
Get the type ID.
Time m_senderTimestamp
sender timestamp
virtual uint32_t GetSerializedSize() const
Time GetSenderTimestamp(void) const
Get the instant when the PDCP delivers the PDU to the MAC SAP provider.
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
virtual void Print(std::ostream &os) const
virtual void Deserialize(TagBuffer i)
PdcpTag()
Create an empty PDCP tag.
virtual void Serialize(TagBuffer i) const
void Read(uint8_t *buffer, uint32_t size)
void Write(const uint8_t *buffer, uint32_t size)
tag a set of bytes in a packet
Simulation virtual time values and global simulation resolution.
int64_t GetNanoSeconds(void) const
Get an approximation of the time stored in this instance in the indicated unit.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Time NanoSeconds(uint64_t value)
Construct a Time in the indicated unit.
Time Seconds(double value)
Construct a Time in the indicated unit.
void(* Time)(Time oldValue, Time newValue)
TracedValue callback signature for Time.
Every class exported by the ns3 library is enclosed in the ns3 namespace.