ns-3
ns3::Ipv6ExtensionHeader Class Reference

Header for IPv6 Extension. More...

#include <ipv6-extension-header.h>

Inheritance diagram for ns3::Ipv6ExtensionHeader:
Collaboration diagram for ns3::Ipv6ExtensionHeader:

List of all members.

Public Member Functions

virtual TypeId GetInstanceTypeId () const
 Get the instance type ID.
 Ipv6ExtensionHeader ()
 Constructor.
virtual ~Ipv6ExtensionHeader ()
 Destructor.
void SetNextHeader (uint8_t nextHeader)
 Set the "Next header" field.
uint8_t GetNextHeader () const
 Get the next header.
void SetLength (uint16_t length)
uint16_t GetLength () const
 Get the length of the extension.
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.

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type identificator.

Detailed Description

Header for IPv6 Extension.


Member Function Documentation

TypeId ns3::Ipv6ExtensionHeader::GetInstanceTypeId ( void  ) const
virtual
uint32_t ns3::Ipv6ExtensionHeader::GetSerializedSize ( void  ) const
virtual
TypeId ns3::Ipv6ExtensionHeader::GetTypeId ( void  )
static

Get the type identificator.

This method returns the TypeId associated to ns3::Ipv6ExtensionHeader.

Returns:
type identificator

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Header.

Reimplemented in ns3::Ipv6ExtensionAHHeader, ns3::Ipv6ExtensionESPHeader, ns3::Ipv6ExtensionLooseRoutingHeader, ns3::Ipv6ExtensionRoutingHeader, ns3::Ipv6ExtensionFragmentHeader, ns3::Ipv6ExtensionDestinationHeader, and ns3::Ipv6ExtensionHopByHopHeader.

References ns3::TypeId::AddConstructor().

Referenced by GetInstanceTypeId().

void ns3::Ipv6ExtensionHeader::Print ( std::ostream &  os) const
virtual

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