36 NS_OBJECT_ENSURE_REGISTERED(SatTimeTag);
39 : m_senderTimestamp(Seconds(0))
45 : m_senderTimestamp(senderTimestamp)
53 static TypeId tid = TypeId(
"ns3::SatTimeTag").SetParent<Tag>().AddConstructor<SatTimeTag>();
73 i.Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
79 int64_t senderTimestamp;
80 i.Read((uint8_t*)&senderTimestamp, 8);
107 : m_senderTimestamp(Seconds(0))
113 : m_senderTimestamp(senderTimestamp)
122 TypeId(
"ns3::SatPhyTimeTag").SetParent<Tag>().AddConstructor<SatPhyTimeTag>();
142 i.Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
148 int64_t senderTimestamp;
149 i.Read((uint8_t*)&senderTimestamp, 8);
176 : m_senderLinkTimestamp(Seconds(0))
182 : m_senderLinkTimestamp(senderLinkTimestamp)
191 TypeId(
"ns3::SatPhyLinkTimeTag").SetParent<Tag>().AddConstructor<SatPhyLinkTimeTag>();
211 i.Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
217 int64_t senderTimestamp;
218 i.Read((uint8_t*)&senderTimestamp, 8);
245 : m_senderTimestamp(Seconds(0))
251 : m_senderTimestamp(senderTimestamp)
260 TypeId(
"ns3::SatMacTimeTag").SetParent<Tag>().AddConstructor<SatMacTimeTag>();
280 i.Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
286 int64_t senderTimestamp;
287 i.Read((uint8_t*)&senderTimestamp, 8);
314 : m_senderLinkTimestamp(Seconds(0))
320 : m_senderLinkTimestamp(senderLinkTimestamp)
329 TypeId(
"ns3::SatMacLinkTimeTag").SetParent<Tag>().AddConstructor<SatMacLinkTimeTag>();
349 i.Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
355 int64_t senderTimestamp;
356 i.Read((uint8_t*)&senderTimestamp, 8);
383 : m_senderTimestamp(Seconds(0))
389 : m_senderTimestamp(senderTimestamp)
398 TypeId(
"ns3::SatDevTimeTag").SetParent<Tag>().AddConstructor<SatDevTimeTag>();
418 i.Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
424 int64_t senderTimestamp;
425 i.Read((uint8_t*)&senderTimestamp, 8);
452 : m_senderTimestamp(Seconds(0))
458 : m_senderTimestamp(senderTimestamp)
467 TypeId(
"ns3::SatDevLinkTimeTag").SetParent<Tag>().AddConstructor<SatDevLinkTimeTag>();
487 i.Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
493 int64_t senderTimestamp;
494 i.Read((uint8_t*)&senderTimestamp, 8);
Time tag used to identify the time when packet is enqueued at device level.
static TypeId GetTypeId(void)
Get the type ID.
SatDevLinkTimeTag()
Default constructor.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatDevLinkTimeTag.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatDevLinkTimeTag.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatDevLinkTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatDevLinkTimeTag.
Time tag used to identify the time when packet is enqueued at device level.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatDevTimeTag.
SatDevTimeTag()
Default constructor.
static TypeId GetTypeId(void)
Get the type ID.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatDevTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatDevTimeTag.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatDevTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
Time tag used to identify the time when packet is enqueued at MAC on current link level.
SatMacLinkTimeTag()
Default constructor.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatMacLinkTimeTag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatMacLinkTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatMacLinkTimeTag.
static TypeId GetTypeId(void)
Get the type ID.
Time m_senderLinkTimestamp
Time GetSenderLinkTimestamp(void) const
Get sender time stamp of this tag.
void SetSenderLinkTimestamp(Time senderLinkTimestamp)
Set sender time stamp of this tag.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatMacLinkTimeTag.
Time tag used to identify the time when packet is enqueued at MAC level.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatMacTimeTag.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatMacTimeTag.
SatMacTimeTag()
Default constructor.
static TypeId GetTypeId(void)
Get the type ID.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatMacTimeTag.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatMacTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
Time tag used to identify the time when packet is enqueued at PHY on current link level.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatPhyLinkTimeTag.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatPhyLinkTimeTag.
void SetSenderLinkTimestamp(Time senderLinkTimestamp)
Set sender time stamp of this tag.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatPhyLinkTimeTag.
Time m_senderLinkTimestamp
static TypeId GetTypeId(void)
Get the type ID.
SatPhyLinkTimeTag()
Default constructor.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatPhyLinkTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
Time GetSenderLinkTimestamp(void) const
Get sender time stamp of this tag.
Time tag used to identify the time when packet is enqueued at PHY on first link between GW and UT lev...
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
SatPhyTimeTag()
Default constructor.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatPhyTimeTag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatPhyTimeTag.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatPhyTimeTag.
static TypeId GetTypeId(void)
Get the type ID.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatPhyTimeTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
virtual uint32_t GetSerializedSize() const
Get serialized size of SatTimeTag.
virtual void Deserialize(TagBuffer i)
Deserializes information from buffer to this instance of SatTimeTag.
Time GetSenderTimestamp(void) const
Get sender time stamp of this tag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatTimeTag.
static TypeId GetTypeId(void)
Get the type ID.
virtual void Serialize(TagBuffer i) const
Serializes information to buffer from this instance of SatTimeTag.
void SetSenderTimestamp(Time senderTimestamp)
Set sender time stamp of this tag.
SatTimeTag()
Default constructor.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.