Public Member Functions | |
virtual uint32_t | GetSerializedSize () const |
Get the serialized size of the packet. More... | |
virtual void | Serialize (Buffer::Iterator start) const |
Serialize the packet. More... | |
![]() | |
Ipv6OptionHeader () | |
Constructor. More... | |
virtual | ~Ipv6OptionHeader () |
Destructor. More... | |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
Deserialize the packet. More... | |
virtual Alignment | GetAlignment () const |
Get the Alignment requirement of this option header. More... | |
virtual TypeId | GetInstanceTypeId () const |
Get the instance type ID. More... | |
uint8_t | GetLength () const |
Get the option length. More... | |
uint8_t | GetType () const |
Get the type of the option. More... | |
virtual void | Print (std::ostream &os) const |
Print some informations about the packet. More... | |
void | SetLength (uint8_t length) |
Set the option length. More... | |
void | SetType (uint8_t type) |
Set the type of the option. More... | |
![]() | |
virtual | ~Header () |
![]() | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Attributes | |
static const uint8_t | TYPE = 42 |
Additional Inherited Members | |
![]() | |
static TypeId | GetTypeId () |
Get the type identificator. More... | |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
This method is invoked once all member attributes have been initialized. More... | |
Definition at line 65 of file ipv6-extension-header-test-suite.cc.
|
inlinevirtual |
Get the serialized size of the packet.
Reimplemented from ns3::Ipv6OptionHeader.
Definition at line 69 of file ipv6-extension-header-test-suite.cc.
|
inlinevirtual |
Serialize the packet.
start | Buffer iterator |
Reimplemented from ns3::Ipv6OptionHeader.
Definition at line 74 of file ipv6-extension-header-test-suite.cc.
References ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU8().
|
static |
Definition at line 68 of file ipv6-extension-header-test-suite.cc.
Referenced by TestOptionWithoutAlignment::DoRun().