NS-3
|
ICMPv6 redirected option. More...
#include <icmpv6-header.h>
Public Member Functions | |
virtual TypeId | GetInstanceTypeId () const |
Get the instance type ID. | |
Icmpv6OptionRedirected () | |
Constructor. | |
virtual | ~Icmpv6OptionRedirected () |
Destructor. | |
Ptr< Packet > | GetPacket () const |
Get the redirected packet. | |
void | SetPacket (Ptr< Packet > packet) |
Set the redirected packet. | |
virtual void | Print (std::ostream &os) const |
Print informations. | |
virtual uint32_t | GetSerializedSize () const |
Get the serialized size. | |
virtual void | Serialize (Buffer::Iterator start) const |
Serialize the packet. | |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
Deserialize the packet. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the UID of this class. |
ICMPv6 redirected option.
virtual uint32_t ns3::Icmpv6OptionRedirected::Deserialize | ( | Buffer::Iterator | start | ) | [virtual] |
Deserialize the packet.
start | start offset |
Reimplemented from ns3::Icmpv6OptionHeader.
virtual TypeId ns3::Icmpv6OptionRedirected::GetInstanceTypeId | ( | ) | const [virtual] |
Get the redirected packet.
virtual uint32_t ns3::Icmpv6OptionRedirected::GetSerializedSize | ( | ) | const [virtual] |
static TypeId ns3::Icmpv6OptionRedirected::GetTypeId | ( | void | ) | [static] |
Get the UID of this class.
This method returns the TypeId associated to ns3::Icmpv6OptionRedirected.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Icmpv6OptionHeader.
virtual void ns3::Icmpv6OptionRedirected::Print | ( | std::ostream & | os | ) | const [virtual] |
virtual void ns3::Icmpv6OptionRedirected::Serialize | ( | Buffer::Iterator | start | ) | const [virtual] |
Set the redirected packet.
packet | the redirected packet |