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

#include <IPv6ExtensionHeaders.h>

Inheritance diagram for inet::IPv6RoutingHeader:
inet::IPv6RoutingHeader_Base inet::IPv6ExtensionHeader

Public Member Functions

 IPv6RoutingHeader ()
 
 IPv6RoutingHeader (const IPv6RoutingHeader &other)
 
IPv6RoutingHeaderoperator= (const IPv6RoutingHeader &other)
 
virtual IPv6RoutingHeaderdup () const override
 
virtual void setAddressArraySize (unsigned int size) override
 
- Public Member Functions inherited from inet::IPv6RoutingHeader_Base
virtual ~IPv6RoutingHeader_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint8_t getRoutingType () const
 
virtual void setRoutingType (uint8_t routingType)
 
virtual uint8_t getSegmentsLeft () const
 
virtual void setSegmentsLeft (uint8_t segmentsLeft)
 
virtual unsigned int getAddressArraySize () const
 
virtual IPv6AddressgetAddress (unsigned int k)
 
virtual const IPv6AddressgetAddress (unsigned int k) const
 
virtual void setAddress (unsigned int k, const IPv6Address &address)
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from inet::IPv6RoutingHeader_Base
bool operator== (const IPv6RoutingHeader_Base &)
 
 IPv6RoutingHeader_Base ()
 
 IPv6RoutingHeader_Base (const IPv6RoutingHeader_Base &other)
 
IPv6RoutingHeader_Baseoperator= (const IPv6RoutingHeader_Base &other)
 
- Protected Member Functions inherited from inet::IPv6ExtensionHeader
bool operator== (const IPv6ExtensionHeader &)
 
- Protected Attributes inherited from inet::IPv6RoutingHeader_Base
uint8_t routingType
 
uint8_t segmentsLeft
 
IPv6Addressaddress
 
unsigned int address_arraysize
 
- Protected Attributes inherited from inet::IPv6ExtensionHeader
short extensionType
 
short byteLength
 

Constructor & Destructor Documentation

inet::IPv6RoutingHeader::IPv6RoutingHeader ( )
inline
inet::IPv6RoutingHeader::IPv6RoutingHeader ( const IPv6RoutingHeader other)
inline

Member Function Documentation

virtual IPv6RoutingHeader* inet::IPv6RoutingHeader::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::IPv6RoutingHeader_Base.

31 { return new IPv6RoutingHeader(*this); }
IPv6RoutingHeader()
Definition: IPv6ExtensionHeaders.h:28
IPv6RoutingHeader& inet::IPv6RoutingHeader::operator= ( const IPv6RoutingHeader other)
inline
30 { IPv6RoutingHeader_Base::operator=(other); return *this; }
IPv6RoutingHeader_Base & operator=(const IPv6RoutingHeader_Base &other)
void inet::IPv6RoutingHeader::setAddressArraySize ( unsigned int  size)
overridevirtual

Reimplemented from inet::IPv6RoutingHeader_Base.

Referenced by inet::IPv6Tunneling::encapsulateDatagram().

23 {
25  setByteLength(8 + 16 * size);
26 }
virtual void setAddressArraySize(unsigned int size)
virtual void setByteLength(short byteLength)

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