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

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

#include <IPv6ExtensionHeaders_m.h>

Inheritance diagram for inet::IPv6HopByHopOptionsHeader:
inet::IPv6ExtensionHeader

Public Member Functions

 IPv6HopByHopOptionsHeader ()
 
 IPv6HopByHopOptionsHeader (const IPv6HopByHopOptionsHeader &other)
 
virtual ~IPv6HopByHopOptionsHeader ()
 
IPv6HopByHopOptionsHeaderoperator= (const IPv6HopByHopOptionsHeader &other)
 
virtual IPv6HopByHopOptionsHeaderdup () 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 IPv6HopByHopOptionsHeader &)
 
- 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 IPv6HopByHopOptionsHeader &other)
 

Detailed Description

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

//
// Hop-by-Hop Options Header.
// RFC 2460 Section 4.3
// Next Header Value: 0
//
class IPv6HopByHopOptionsHeader extends IPv6ExtensionHeader
{
    extensionType = IP_PROT_IPv6EXT_HOP;
    // byteLength = utils::roundUp(2 + tlvOptions.getLength(), 8);
    TLVOptions tlvOptions;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::IPv6HopByHopOptionsHeader::copy ( const IPv6HopByHopOptionsHeader other)
private
virtual IPv6HopByHopOptionsHeader* inet::IPv6HopByHopOptionsHeader::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::IPv6ExtensionHeader.

virtual TLVOptions& inet::IPv6HopByHopOptionsHeader::getTlvOptions ( )
virtual
virtual const TLVOptions& inet::IPv6HopByHopOptionsHeader::getTlvOptions ( ) const
inlinevirtual

Referenced by getTlvOptions().

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

Reimplemented from inet::IPv6ExtensionHeader.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IPv6ExtensionHeader.

Referenced by inet::doParsimUnpacking().

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

Member Data Documentation

TLVOptions inet::IPv6HopByHopOptionsHeader::tlvOptions
protected

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