Concrete IPv6 specific PbbMessage class. More...
#include <packetbb.h>
Inheritance diagram for ns3::PbbMessageIpv6:
Collaboration diagram for ns3::PbbMessageIpv6:Public Member Functions | |
| PbbMessageIpv6 () | |
| virtual | ~PbbMessageIpv6 () |
Public Member Functions inherited from ns3::SimpleRefCount< PbbMessage > | |
| SimpleRefCount () | |
| Constructor. More... | |
| SimpleRefCount (const SimpleRefCount &o) | |
| Copy constructor. More... | |
| uint32_t | GetReferenceCount (void) const |
| Get the reference count of the object. More... | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| Assignment. More... | |
| void | Ref (void) const |
| Increment the reference count. More... | |
| void | Unref (void) const |
| Decrement the reference count. More... | |
Protected Member Functions | |
| virtual Ptr< PbbAddressBlock > | AddressBlockDeserialize (Buffer::Iterator &start) const |
| virtual Address | DeserializeOriginatorAddress (Buffer::Iterator &start) const |
| virtual PbbAddressLength | GetAddressLength (void) const |
| Returns address length (IPV4 3 or IPV6 15) More... | |
| virtual void | PrintOriginatorAddress (std::ostream &os) const |
| virtual void | SerializeOriginatorAddress (Buffer::Iterator &start) const |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< PbbMessage > | |
| static void | Cleanup (void) |
| Noop. More... | |
Concrete IPv6 specific PbbMessage class.
This message will only contain IPv6 addresses.
Definition at line 1122 of file packetbb.h.
| ns3::PbbMessageIpv6::PbbMessageIpv6 | ( | ) |
Definition at line 1782 of file packetbb.cc.
References NS_LOG_FUNCTION.
|
virtual |
Definition at line 1787 of file packetbb.cc.
References NS_LOG_FUNCTION.
|
protectedvirtual |
Implements ns3::PbbMessage.
Definition at line 1828 of file packetbb.cc.
References NS_LOG_FUNCTION.
|
protectedvirtual |
Implements ns3::PbbMessage.
Definition at line 1810 of file packetbb.cc.
References ns3::Ipv6Address::Deserialize(), GetAddressLength(), NS_LOG_FUNCTION, and ns3::Buffer::Iterator::Read().
Here is the call graph for this function:
|
protectedvirtual |
Returns address length (IPV4 3 or IPV6 15)
Returns message size in bytes - 1 IPv4 = 4 - 1 = 3, IPv6 = 16 - 1 = 15
Implements ns3::PbbMessage.
Definition at line 1793 of file packetbb.cc.
References ns3::IPV6, and NS_LOG_FUNCTION.
Referenced by DeserializeOriginatorAddress(), and SerializeOriginatorAddress().
Here is the caller graph for this function:
|
protectedvirtual |
Implements ns3::PbbMessage.
Definition at line 1821 of file packetbb.cc.
References ns3::Ipv6Address::ConvertFrom(), ns3::PbbMessage::GetOriginatorAddress(), NS_LOG_FUNCTION, and ns3::Ipv6Address::Print().
Here is the call graph for this function:
|
protectedvirtual |
Implements ns3::PbbMessage.
Definition at line 1800 of file packetbb.cc.
References ns3::Ipv6Address::ConvertFrom(), GetAddressLength(), ns3::PbbMessage::GetOriginatorAddress(), NS_LOG_FUNCTION, ns3::Ipv6Address::Serialize(), and ns3::Buffer::Iterator::Write().
Here is the call graph for this function: