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

Class generated from inet/networklayer/ipv6/IPv6ExtensionHeaders.msg:96 by nedtool. More...

#include <IPv6ExtensionHeaders_m.h>

Inheritance diagram for inet::IPv6DestinationOptionsHeader:
inet::IPv6ExtensionHeader inet::HomeAddressOption_Base inet::HomeAddressOption

Public Member Functions

 IPv6DestinationOptionsHeader ()
 
 IPv6DestinationOptionsHeader (const IPv6DestinationOptionsHeader &other)
 
virtual ~IPv6DestinationOptionsHeader ()
 
IPv6DestinationOptionsHeaderoperator= (const IPv6DestinationOptionsHeader &other)
 
virtual IPv6DestinationOptionsHeaderdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual TLVOptionsgetTlvOptions ()
 
virtual const TLVOptionsgetTlvOptions () const
 
virtual void setTlvOptions (const TLVOptions &tlvOptions)
 
- Public Member Functions inherited from inet::IPv6ExtensionHeader
 IPv6ExtensionHeader ()
 
 IPv6ExtensionHeader (const IPv6ExtensionHeader &other)
 
virtual ~IPv6ExtensionHeader ()
 
IPv6ExtensionHeaderoperator= (const IPv6ExtensionHeader &other)
 
virtual short getExtensionType () const
 
virtual void setExtensionType (short extensionType)
 
virtual short getByteLength () const
 
virtual void setByteLength (short byteLength)
 

Protected Member Functions

bool operator== (const IPv6DestinationOptionsHeader &)
 
- Protected Member Functions inherited from inet::IPv6ExtensionHeader
bool operator== (const IPv6ExtensionHeader &)
 

Protected Attributes

TLVOptions tlvOptions
 
- Protected Attributes inherited from inet::IPv6ExtensionHeader
short extensionType
 
short byteLength
 

Private Member Functions

void copy (const IPv6DestinationOptionsHeader &other)
 

Detailed Description

Class generated from inet/networklayer/ipv6/IPv6ExtensionHeaders.msg:96 by nedtool.

//
// Destination Options Header
// RFC 2460 Section 4.6
// Next Header Value: 60
//
class IPv6DestinationOptionsHeader extends IPv6ExtensionHeader
{
    extensionType = IP_PROT_IPv6EXT_DEST;
    byteLength = 8;    // utils::roundUp(2 + tlvOptions.getLength(), 8);
    TLVOptions tlvOptions;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::IPv6DestinationOptionsHeader::copy ( const IPv6DestinationOptionsHeader other)
private
virtual IPv6DestinationOptionsHeader* inet::IPv6DestinationOptionsHeader::dup ( ) const
inlineoverridevirtual
virtual TLVOptions& inet::IPv6DestinationOptionsHeader::getTlvOptions ( )
virtual
virtual const TLVOptions& inet::IPv6DestinationOptionsHeader::getTlvOptions ( ) const
inlinevirtual

Referenced by getTlvOptions().

276 {return const_cast<IPv6DestinationOptionsHeader*>(this)->getTlvOptions();}
virtual TLVOptions & getTlvOptions()
IPv6DestinationOptionsHeader& inet::IPv6DestinationOptionsHeader::operator= ( const IPv6DestinationOptionsHeader other)
bool inet::IPv6DestinationOptionsHeader::operator== ( const IPv6DestinationOptionsHeader )
protected
virtual void inet::IPv6DestinationOptionsHeader::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::IPv6ExtensionHeader.

Reimplemented in inet::HomeAddressOption_Base.

Referenced by inet::doParsimPacking().

virtual void inet::IPv6DestinationOptionsHeader::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::IPv6ExtensionHeader.

Reimplemented in inet::HomeAddressOption_Base.

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv6DestinationOptionsHeader::setTlvOptions ( const TLVOptions tlvOptions)
virtual

Member Data Documentation

TLVOptions inet::IPv6DestinationOptionsHeader::tlvOptions
protected

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