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

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

#include <IPv6NDMessage_m.h>

Inheritance diagram for inet::IPv6Redirect:
inet::IPv6NDMessage inet::ICMPv6Message

Public Member Functions

 IPv6Redirect (const char *name=nullptr, short kind=0)
 
 IPv6Redirect (const IPv6Redirect &other)
 
virtual ~IPv6Redirect ()
 
IPv6Redirectoperator= (const IPv6Redirect &other)
 
virtual IPv6Redirectdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual IPv6AddressgetTargetAddress ()
 
virtual const IPv6AddressgetTargetAddress () const
 
virtual void setTargetAddress (const IPv6Address &targetAddress)
 
virtual IPv6AddressgetDestinationAddress ()
 
virtual const IPv6AddressgetDestinationAddress () const
 
virtual void setDestinationAddress (const IPv6Address &destinationAddress)
 
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 IPv6Redirect &)
 
- Protected Member Functions inherited from inet::IPv6NDMessage
bool operator== (const IPv6NDMessage &)
 
- Protected Member Functions inherited from inet::ICMPv6Message
bool operator== (const ICMPv6Message &)
 

Protected Attributes

IPv6Address targetAddress
 
IPv6Address destinationAddress
 
MACAddress targetLinkLayerAddress
 
- Protected Attributes inherited from inet::IPv6NDMessage
int code
 
- Protected Attributes inherited from inet::ICMPv6Message
int type
 

Private Member Functions

void copy (const IPv6Redirect &other)
 

Detailed Description

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

//
// Redirect Message Format
// RFC 2461 Section 4.5
//
packet IPv6Redirect extends IPv6NDMessage
{
    //Additional ICMP fields
    IPv6Address targetAddress;
    IPv6Address destinationAddress;
    //Possible Options
    MACAddress targetLinkLayerAddress;
        //Redirected Header Encapsulated Msg
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::IPv6NDMessage.

583 {return new IPv6Redirect(*this);}
IPv6Redirect(const char *name=nullptr, short kind=0)
virtual IPv6Address& inet::IPv6Redirect::getDestinationAddress ( )
virtual
virtual const IPv6Address& inet::IPv6Redirect::getDestinationAddress ( ) const
inlinevirtual

Referenced by getDestinationAddress().

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

Referenced by getTargetAddress().

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

Referenced by getTargetLinkLayerAddress().

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

Reimplemented from inet::IPv6NDMessage.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IPv6NDMessage.

Referenced by inet::doParsimUnpacking().

virtual void inet::IPv6Redirect::setDestinationAddress ( const IPv6Address destinationAddress)
virtual
virtual void inet::IPv6Redirect::setTargetAddress ( const IPv6Address targetAddress)
virtual
virtual void inet::IPv6Redirect::setTargetLinkLayerAddress ( const MACAddress targetLinkLayerAddress)
virtual

Member Data Documentation

IPv6Address inet::IPv6Redirect::destinationAddress
protected
IPv6Address inet::IPv6Redirect::targetAddress
protected
MACAddress inet::IPv6Redirect::targetLinkLayerAddress
protected

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