INET Framework for OMNeT++/OMNEST
inet::IPv6ExtensionHeader Class Reference

Class generated from inet/networklayer/ipv6/IPv6Datagram.msg:71 by nedtool. More...

#include <IPv6Datagram_m.h>

Inheritance diagram for inet::IPv6ExtensionHeader:
inet::IPv6AuthenticationHeader inet::IPv6DestinationOptionsHeader inet::IPv6EncapsulatingSecurityPayloadHeader inet::IPv6FragmentHeader inet::IPv6HopByHopOptionsHeader inet::IPv6RoutingHeader_Base inet::HomeAddressOption_Base inet::IPv6RoutingHeader inet::HomeAddressOption

Public Member Functions

 IPv6ExtensionHeader ()
 
 IPv6ExtensionHeader (const IPv6ExtensionHeader &other)
 
virtual ~IPv6ExtensionHeader ()
 
IPv6ExtensionHeaderoperator= (const IPv6ExtensionHeader &other)
 
virtual IPv6ExtensionHeaderdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual short getExtensionType () const
 
virtual void setExtensionType (short extensionType)
 
virtual short getByteLength () const
 
virtual void setByteLength (short byteLength)
 

Protected Member Functions

bool operator== (const IPv6ExtensionHeader &)
 

Protected Attributes

short extensionType
 
short byteLength
 

Private Member Functions

void copy (const IPv6ExtensionHeader &other)
 

Detailed Description

Class generated from inet/networklayer/ipv6/IPv6Datagram.msg:71 by nedtool.

//
// This serves as the base class for all the other extension headers.
//
class IPv6ExtensionHeader
{
    short extensionType;
    short byteLength = 0;   // byteLength = n * 8;
}

Constructor & Destructor Documentation

inet::IPv6ExtensionHeader::IPv6ExtensionHeader ( )
inet::IPv6ExtensionHeader::IPv6ExtensionHeader ( const IPv6ExtensionHeader other)
virtual inet::IPv6ExtensionHeader::~IPv6ExtensionHeader ( )
virtual

Member Function Documentation

void inet::IPv6ExtensionHeader::copy ( const IPv6ExtensionHeader other)
private
virtual short inet::IPv6ExtensionHeader::getByteLength ( ) const
virtual
virtual short inet::IPv6ExtensionHeader::getExtensionType ( ) const
virtual
IPv6ExtensionHeader& inet::IPv6ExtensionHeader::operator= ( const IPv6ExtensionHeader other)
bool inet::IPv6ExtensionHeader::operator== ( const IPv6ExtensionHeader )
protected
virtual void inet::IPv6ExtensionHeader::setByteLength ( short  byteLength)
virtual
virtual void inet::IPv6ExtensionHeader::setExtensionType ( short  extensionType)
virtual

Member Data Documentation

short inet::IPv6ExtensionHeader::byteLength
protected
short inet::IPv6ExtensionHeader::extensionType
protected

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