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

Class generated from inet/networklayer/icmpv6/IPv6NDMessage.msg:55 by nedtool. More...

#include <IPv6NDMessage_m.h>

Inheritance diagram for inet::IPv6NDPrefixInformation:

Public Member Functions

 IPv6NDPrefixInformation ()
 
 IPv6NDPrefixInformation (const IPv6NDPrefixInformation &other)
 
virtual ~IPv6NDPrefixInformation ()
 
IPv6NDPrefixInformationoperator= (const IPv6NDPrefixInformation &other)
 
virtual IPv6NDPrefixInformationdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned short getPrefixLength () const
 
virtual void setPrefixLength (unsigned short prefixLength)
 
virtual bool getOnlinkFlag () const
 
virtual void setOnlinkFlag (bool onlinkFlag)
 
virtual bool getAutoAddressConfFlag () const
 
virtual void setAutoAddressConfFlag (bool autoAddressConfFlag)
 
virtual bool getRouterAddressFlag () const
 
virtual void setRouterAddressFlag (bool routerAddressFlag)
 
virtual unsigned int getValidLifetime () const
 
virtual void setValidLifetime (unsigned int validLifetime)
 
virtual unsigned int getPreferredLifetime () const
 
virtual void setPreferredLifetime (unsigned int preferredLifetime)
 
virtual IPv6AddressgetPrefix ()
 
virtual const IPv6AddressgetPrefix () const
 
virtual void setPrefix (const IPv6Address &prefix)
 

Protected Member Functions

bool operator== (const IPv6NDPrefixInformation &)
 

Protected Attributes

unsigned short prefixLength
 
bool onlinkFlag
 
bool autoAddressConfFlag
 
bool routerAddressFlag
 
unsigned int validLifetime
 
unsigned int preferredLifetime
 
IPv6Address prefix
 

Private Member Functions

void copy (const IPv6NDPrefixInformation &other)
 

Detailed Description

Class generated from inet/networklayer/icmpv6/IPv6NDMessage.msg:55 by nedtool.

//
// IPv6ND Prefix Information
// RFC 2461 / RFC 4861 Section 4.6.2
// RFC 3775 Section 7.2 (routerAddressFlag)
//
class IPv6NDPrefixInformation
{
    unsigned short prefixLength;
    bool onlinkFlag;        //L-bit
    bool autoAddressConfFlag;    //A-bit
    bool routerAddressFlag;        //R-bit: used in case of MIPv6 when the H-bit is set
    unsigned int validLifetime;    // seconds
    unsigned int preferredLifetime;    // seconds
    IPv6Address prefix;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::IPv6NDPrefixInformation::copy ( const IPv6NDPrefixInformation other)
private
virtual IPv6NDPrefixInformation* inet::IPv6NDPrefixInformation::dup ( ) const
inlineoverridevirtual
123 {return new IPv6NDPrefixInformation(*this);}
virtual bool inet::IPv6NDPrefixInformation::getAutoAddressConfFlag ( ) const
virtual
virtual bool inet::IPv6NDPrefixInformation::getOnlinkFlag ( ) const
virtual
virtual unsigned int inet::IPv6NDPrefixInformation::getPreferredLifetime ( ) const
virtual
virtual const IPv6Address& inet::IPv6NDPrefixInformation::getPrefix ( ) const
inlinevirtual

Referenced by getPrefix().

141 {return const_cast<IPv6NDPrefixInformation*>(this)->getPrefix();}
virtual IPv6Address & getPrefix()
virtual unsigned short inet::IPv6NDPrefixInformation::getPrefixLength ( ) const
virtual
virtual bool inet::IPv6NDPrefixInformation::getRouterAddressFlag ( ) const
virtual
virtual unsigned int inet::IPv6NDPrefixInformation::getValidLifetime ( ) const
virtual
IPv6NDPrefixInformation& inet::IPv6NDPrefixInformation::operator= ( const IPv6NDPrefixInformation other)
bool inet::IPv6NDPrefixInformation::operator== ( const IPv6NDPrefixInformation )
protected
virtual void inet::IPv6NDPrefixInformation::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Referenced by inet::doParsimPacking().

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

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv6NDPrefixInformation::setAutoAddressConfFlag ( bool  autoAddressConfFlag)
virtual
virtual void inet::IPv6NDPrefixInformation::setOnlinkFlag ( bool  onlinkFlag)
virtual
virtual void inet::IPv6NDPrefixInformation::setPreferredLifetime ( unsigned int  preferredLifetime)
virtual
virtual void inet::IPv6NDPrefixInformation::setPrefix ( const IPv6Address prefix)
virtual
virtual void inet::IPv6NDPrefixInformation::setPrefixLength ( unsigned short  prefixLength)
virtual
virtual void inet::IPv6NDPrefixInformation::setRouterAddressFlag ( bool  routerAddressFlag)
virtual
virtual void inet::IPv6NDPrefixInformation::setValidLifetime ( unsigned int  validLifetime)
virtual

Member Data Documentation

bool inet::IPv6NDPrefixInformation::autoAddressConfFlag
protected
bool inet::IPv6NDPrefixInformation::onlinkFlag
protected
unsigned int inet::IPv6NDPrefixInformation::preferredLifetime
protected
IPv6Address inet::IPv6NDPrefixInformation::prefix
protected
unsigned short inet::IPv6NDPrefixInformation::prefixLength
protected
bool inet::IPv6NDPrefixInformation::routerAddressFlag
protected
unsigned int inet::IPv6NDPrefixInformation::validLifetime
protected

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