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

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

#include <IPv6NDMessage_m.h>

Inheritance diagram for inet::IPv6NeighbourAdvertisement:
inet::IPv6NDMessage inet::ICMPv6Message

Public Member Functions

 IPv6NeighbourAdvertisement (const char *name=nullptr, short kind=0)
 
 IPv6NeighbourAdvertisement (const IPv6NeighbourAdvertisement &other)
 
virtual ~IPv6NeighbourAdvertisement ()
 
IPv6NeighbourAdvertisementoperator= (const IPv6NeighbourAdvertisement &other)
 
virtual IPv6NeighbourAdvertisementdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getRouterFlag () const
 
virtual void setRouterFlag (bool routerFlag)
 
virtual bool getSolicitedFlag () const
 
virtual void setSolicitedFlag (bool solicitedFlag)
 
virtual bool getOverrideFlag () const
 
virtual void setOverrideFlag (bool overrideFlag)
 
virtual IPv6AddressgetTargetAddress ()
 
virtual const IPv6AddressgetTargetAddress () const
 
virtual void setTargetAddress (const IPv6Address &targetAddress)
 
virtual MACAddressgetTargetLinkLayerAddress ()
 
virtual const MACAddressgetTargetLinkLayerAddress () const
 
virtual void setTargetLinkLayerAddress (const MACAddress &targetLinkLayerAddress)
 
- Public Member Functions inherited from inet::IPv6NDMessage
 IPv6NDMessage (const char *name=nullptr, short kind=0)
 
 IPv6NDMessage (const IPv6NDMessage &other)
 
virtual ~IPv6NDMessage ()
 
IPv6NDMessageoperator= (const IPv6NDMessage &other)
 
virtual int getCode () const
 
virtual void setCode (int code)
 
- Public Member Functions inherited from inet::ICMPv6Message
 ICMPv6Message (const char *name=nullptr, short kind=0)
 
 ICMPv6Message (const ICMPv6Message &other)
 
virtual ~ICMPv6Message ()
 
ICMPv6Messageoperator= (const ICMPv6Message &other)
 
virtual int getType () const
 
virtual void setType (int type)
 

Protected Member Functions

bool operator== (const IPv6NeighbourAdvertisement &)
 
- Protected Member Functions inherited from inet::IPv6NDMessage
bool operator== (const IPv6NDMessage &)
 
- Protected Member Functions inherited from inet::ICMPv6Message
bool operator== (const ICMPv6Message &)
 

Protected Attributes

bool routerFlag
 
bool solicitedFlag
 
bool overrideFlag
 
IPv6Address targetAddress
 
MACAddress targetLinkLayerAddress
 
- Protected Attributes inherited from inet::IPv6NDMessage
int code
 
- Protected Attributes inherited from inet::ICMPv6Message
int type
 

Private Member Functions

void copy (const IPv6NeighbourAdvertisement &other)
 

Detailed Description

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

//
// Neighbour Advertisement Message Format
// RFC 2461 Section 4.4
//
packet IPv6NeighbourAdvertisement extends IPv6NDMessage
{
    //Additional ICMP fields
    bool routerFlag;    //R-flag
    bool solicitedFlag;    //S-flag
    bool overrideFlag;    //O-flag
    IPv6Address targetAddress;// MUST NOT be a multicast address.
    //Possible Options
    MACAddress targetLinkLayerAddress;    //Target Link Layer Address option
}

Constructor & Destructor Documentation

inet::IPv6NeighbourAdvertisement::IPv6NeighbourAdvertisement ( const char *  name = nullptr,
short  kind = 0 
)
inet::IPv6NeighbourAdvertisement::IPv6NeighbourAdvertisement ( const IPv6NeighbourAdvertisement other)
virtual inet::IPv6NeighbourAdvertisement::~IPv6NeighbourAdvertisement ( )
virtual

Member Function Documentation

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

Reimplemented from inet::IPv6NDMessage.

523 {return new IPv6NeighbourAdvertisement(*this);}
IPv6NeighbourAdvertisement(const char *name=nullptr, short kind=0)
virtual bool inet::IPv6NeighbourAdvertisement::getOverrideFlag ( ) const
virtual
virtual bool inet::IPv6NeighbourAdvertisement::getRouterFlag ( ) const
virtual
virtual IPv6Address& inet::IPv6NeighbourAdvertisement::getTargetAddress ( )
virtual
virtual const IPv6Address& inet::IPv6NeighbourAdvertisement::getTargetAddress ( ) const
inlinevirtual

Referenced by getTargetAddress().

535 {return const_cast<IPv6NeighbourAdvertisement*>(this)->getTargetAddress();}
virtual IPv6Address & getTargetAddress()
IPv6NeighbourAdvertisement(const char *name=nullptr, short kind=0)
virtual MACAddress& inet::IPv6NeighbourAdvertisement::getTargetLinkLayerAddress ( )
virtual
virtual const MACAddress& inet::IPv6NeighbourAdvertisement::getTargetLinkLayerAddress ( ) const
inlinevirtual

Referenced by getTargetLinkLayerAddress().

538 {return const_cast<IPv6NeighbourAdvertisement*>(this)->getTargetLinkLayerAddress();}
virtual MACAddress & getTargetLinkLayerAddress()
IPv6NeighbourAdvertisement(const char *name=nullptr, short kind=0)
IPv6NeighbourAdvertisement& inet::IPv6NeighbourAdvertisement::operator= ( const IPv6NeighbourAdvertisement other)
bool inet::IPv6NeighbourAdvertisement::operator== ( const IPv6NeighbourAdvertisement )
protected
virtual void inet::IPv6NeighbourAdvertisement::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::IPv6NDMessage.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IPv6NDMessage.

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv6NeighbourAdvertisement::setOverrideFlag ( bool  overrideFlag)
virtual
virtual void inet::IPv6NeighbourAdvertisement::setRouterFlag ( bool  routerFlag)
virtual
virtual void inet::IPv6NeighbourAdvertisement::setSolicitedFlag ( bool  solicitedFlag)
virtual
virtual void inet::IPv6NeighbourAdvertisement::setTargetAddress ( const IPv6Address targetAddress)
virtual
virtual void inet::IPv6NeighbourAdvertisement::setTargetLinkLayerAddress ( const MACAddress targetLinkLayerAddress)
virtual

Member Data Documentation

bool inet::IPv6NeighbourAdvertisement::overrideFlag
protected
bool inet::IPv6NeighbourAdvertisement::routerFlag
protected
bool inet::IPv6NeighbourAdvertisement::solicitedFlag
protected
IPv6Address inet::IPv6NeighbourAdvertisement::targetAddress
protected
MACAddress inet::IPv6NeighbourAdvertisement::targetLinkLayerAddress
protected

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