A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OptionWithAlignmentHeader Class Reference
+ Inheritance diagram for OptionWithAlignmentHeader:
+ Collaboration diagram for OptionWithAlignmentHeader:

Public Member Functions

virtual Alignment GetAlignment () const
 Get the Alignment requirement of this option header. More...
 
virtual uint32_t GetSerializedSize () const
 Get the serialized size of the packet. More...
 
virtual void Serialize (Buffer::Iterator start) const
 Serialize the packet. More...
 
- Public Member Functions inherited from ns3::Ipv6OptionHeader
 Ipv6OptionHeader ()
 Constructor. More...
 
virtual ~Ipv6OptionHeader ()
 Destructor. More...
 
virtual uint32_t Deserialize (Buffer::Iterator start)
 Deserialize the packet. 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...
 
- Public Member Functions inherited from ns3::Header
virtual ~Header ()
 
- Public Member Functions inherited from ns3::ObjectBase
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 = 73
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::Ipv6OptionHeader
static TypeId GetTypeId ()
 Get the type identificator. More...
 
- Static Public Member Functions inherited from ns3::Header
static TypeId GetTypeId (void)
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::Chunk
static TypeId GetTypeId (void)
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)
 Get the type ID. More...
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 
virtual void NotifyConstructionCompleted (void)
 This method is invoked once all member attributes have been initialized. More...
 

Detailed Description

Definition at line 121 of file ipv6-extension-header-test-suite.cc.

Member Function Documentation

virtual Alignment OptionWithAlignmentHeader::GetAlignment ( ) const
inlinevirtual

Get the Alignment requirement of this option header.

Returns
The required alignment

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.

virtual uint32_t OptionWithAlignmentHeader::GetSerializedSize ( void  ) const
inlinevirtual

Get the serialized size of the packet.

Returns
size

Reimplemented from ns3::Ipv6OptionHeader.

Definition at line 125 of file ipv6-extension-header-test-suite.cc.

virtual void OptionWithAlignmentHeader::Serialize ( Buffer::Iterator  start) const
inlinevirtual

Serialize the packet.

Parameters
startBuffer 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:

Member Data Documentation

const uint8_t OptionWithAlignmentHeader::TYPE = 73
static

The documentation for this class was generated from the following file: