21 #ifndef SATELLITE_ADDRESS_TAG_H
22 #define SATELLITE_ADDRESS_TAG_H
24 #include <ns3/address.h>
84 virtual void Serialize(TagBuffer buf)
const;
96 virtual void Print(std::ostream& os)
const;
This class implements a tag that carries the MAC address of the sender of the packet.
virtual void Serialize(TagBuffer buf) const
Serializes information to buffer from this instance of Inherited.
virtual uint32_t GetSerializedSize() const
Inherited from Tag base class.
static TypeId GetTypeId()
Inherited from ObjectBase base class.
void SetSourceAddress(Address addr)
Set the source address.
Address GetSourceAddress() const
Get the source address.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of Inherited.
virtual void Deserialize(TagBuffer buf)
Deserializes information from buffer to this instance of Inherited.
virtual TypeId GetInstanceTypeId() const
Get the type ID of instance.
SatAddressTag()
/ Creates a SatAddressTag instance with an invalid source address.
Address m_sourceAddress
The source address.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.