Header for IPv6 Option. More...
#include <ipv6-option-header.h>


Classes | |
| struct | Alignment |
| represents the alignment requirements of an option header More... | |
Public Member Functions | |
| virtual TypeId | GetInstanceTypeId () const |
| Get the instance type ID. | |
| Ipv6OptionHeader () | |
| Constructor. | |
| virtual | ~Ipv6OptionHeader () |
| Destructor. | |
| void | SetType (uint8_t type) |
| Set the type of the option. | |
| uint8_t | GetType () const |
| Get the type of the option. | |
| void | SetLength (uint8_t length) |
| Set the option length. | |
| uint8_t | GetLength () const |
| Get the option length. | |
| virtual void | Print (std::ostream &os) const |
| Print some informations about the packet. | |
| virtual uint32_t | GetSerializedSize () const |
| Get the serialized size of the packet. | |
| virtual void | Serialize (Buffer::Iterator start) const |
| Serialize the packet. | |
| virtual uint32_t | Deserialize (Buffer::Iterator start) |
| Deserialize the packet. | |
| virtual Alignment | GetAlignment () const |
| Get the Alignment requirement of this option header. | |
Static Public Member Functions | |
| static TypeId | GetTypeId () |
| Get the type identificator. | |
Header for IPv6 Option.
| virtual uint32_t ns3::Ipv6OptionHeader::Deserialize | ( | Buffer::Iterator | start | ) | [virtual] |
Deserialize the packet.
| start | Buffer iterator |
Implements ns3::Header.
Reimplemented in ns3::Ipv6OptionPad1Header, ns3::Ipv6OptionPadnHeader, ns3::Ipv6OptionJumbogramHeader, and ns3::Ipv6OptionRouterAlertHeader.
| virtual Alignment ns3::Ipv6OptionHeader::GetAlignment | ( | ) | const [virtual] |
Get the Alignment requirement of this option header.
Subclasses should only implement this method, if special alignment is required. Default is no alignment (1n+0).
Reimplemented in ns3::Ipv6OptionJumbogramHeader, and ns3::Ipv6OptionRouterAlertHeader.
| virtual TypeId ns3::Ipv6OptionHeader::GetInstanceTypeId | ( | ) | const [virtual] |
Get the instance type ID.
Implements ns3::ObjectBase.
Reimplemented in ns3::Ipv6OptionPad1Header, ns3::Ipv6OptionPadnHeader, ns3::Ipv6OptionJumbogramHeader, and ns3::Ipv6OptionRouterAlertHeader.
| uint8_t ns3::Ipv6OptionHeader::GetLength | ( | ) | const |
Get the option length.
| virtual uint32_t ns3::Ipv6OptionHeader::GetSerializedSize | ( | ) | const [virtual] |
Get the serialized size of the packet.
Implements ns3::Header.
Reimplemented in ns3::Ipv6OptionPad1Header, ns3::Ipv6OptionPadnHeader, ns3::Ipv6OptionJumbogramHeader, and ns3::Ipv6OptionRouterAlertHeader.
| uint8_t ns3::Ipv6OptionHeader::GetType | ( | ) | const |
Get the type of the option.
| static TypeId ns3::Ipv6OptionHeader::GetTypeId | ( | void | ) | [static] |
Get the type identificator.
This method returns the TypeId associated to ns3::Ipv6OptionHeader.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Header.
Reimplemented in ns3::Ipv6OptionPad1Header, ns3::Ipv6OptionPadnHeader, ns3::Ipv6OptionJumbogramHeader, and ns3::Ipv6OptionRouterAlertHeader.
| virtual void ns3::Ipv6OptionHeader::Print | ( | std::ostream & | os | ) | const [virtual] |
Print some informations about the packet.
| os | output stream |
Implements ns3::Header.
Reimplemented in ns3::Ipv6OptionPad1Header, ns3::Ipv6OptionPadnHeader, ns3::Ipv6OptionJumbogramHeader, and ns3::Ipv6OptionRouterAlertHeader.
| virtual void ns3::Ipv6OptionHeader::Serialize | ( | Buffer::Iterator | start | ) | const [virtual] |
Serialize the packet.
| start | Buffer iterator |
Implements ns3::Header.
Reimplemented in ns3::Ipv6OptionPad1Header, ns3::Ipv6OptionPadnHeader, ns3::Ipv6OptionJumbogramHeader, and ns3::Ipv6OptionRouterAlertHeader.
| void ns3::Ipv6OptionHeader::SetLength | ( | uint8_t | length | ) |
Set the option length.
| length | the option length |
| void ns3::Ipv6OptionHeader::SetType | ( | uint8_t | type | ) |
Set the type of the option.
| type | the type of the option |
1.7.1