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