Inheritance diagram for OptionWithAlignmentHeader:
Collaboration diagram for OptionWithAlignmentHeader:Public Member Functions | |
| virtual Alignment | GetAlignment () const |
| Get the Alignment requirement of this option header. | |
| virtual uint32_t | GetSerializedSize () const |
| Get the serialized size of the packet. | |
| virtual void | Serialize (Buffer::Iterator start) const |
| Serialize the packet. | |
Public Member Functions inherited from ns3::Ipv6OptionHeader | |
| Ipv6OptionHeader () | |
| Constructor. | |
| virtual | ~Ipv6OptionHeader () |
| Destructor. | |
| virtual uint32_t | Deserialize (Buffer::Iterator start) |
| Deserialize the packet. | |
| virtual TypeId | GetInstanceTypeId () const |
| Get the instance type ID. | |
| uint8_t | GetLength () const |
| Get the option length. | |
| uint8_t | GetType () const |
| Get the type of the option. | |
| virtual void | Print (std::ostream &os) const |
| Print some informations about the packet. | |
| void | SetLength (uint8_t length) |
| Set the option length. | |
| void | SetType (uint8_t type) |
| Set the type of the option. | |
Public Member Functions inherited from ns3::Header | |
| virtual | ~Header () |
Static Public Attributes | |
| static const uint8_t | TYPE = 73 |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::Ipv6OptionHeader | |
| static TypeId | GetTypeId () |
| Get the type identificator. | |
Protected Member Functions inherited from ns3::ObjectBase | |
| void | ConstructSelf (const AttributeConstructionList &attributes) |
| virtual void | NotifyConstructionCompleted (void) |
Definition at line 121 of file ipv6-extension-header-test-suite.cc.
|
inlinevirtual |
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 from ns3::Ipv6OptionHeader.
Definition at line 137 of file ipv6-extension-header-test-suite.cc.
|
inlinevirtual |
Get the serialized size of the packet.
Reimplemented from ns3::Ipv6OptionHeader.
Definition at line 125 of file ipv6-extension-header-test-suite.cc.
|
inlinevirtual |
Serialize the packet.
| start | Buffer iterator |
Reimplemented from ns3::Ipv6OptionHeader.
Definition at line 130 of file ipv6-extension-header-test-suite.cc.
References ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU8().
Here is the call graph for this function:
|
static |
Definition at line 124 of file ipv6-extension-header-test-suite.cc.
Referenced by TestOptionWithAlignment::DoRun(), and TestFulfilledAlignment::DoRun().